AttributeError: 'tuple' object has no attribute 'log_softmax'

Could you post the code, which raises the error, please?
out and hidden should both be tensors, so I’m not sure where the tuple is coming from.