AttributeError: module ‘torch.functional’ has no attribute ‘relu’
AttributeError: module ‘torch.functional’ has no attribute ‘relu’
手写数字识别器代码中出现:AttributeError: module ‘torch.functional’ has no attribute ‘relu’
AttributeError: module ‘torch.functional’ has no attribute ‘sigmoid’
AttributeError: module ‘torch.functional’ has no attribute ’ log_softmax’
AttributeError: module ‘torch.functional’ has no attribute ’ dropout’