AttributeError: module 'torch' has no attribute 'fx'解决办法

这个报错原因很好解决,只需要在引入包的时候调用下面的语句就可以了

import torch.fx
posted @ 2023-12-02 18:23  marsggbo  阅读(177)  评论(0编辑  收藏  举报