ptrblck:

torch.max operation


I solved that with this but could not call:
loss.backward()
during training and ended up with this
RuntimeError: cuDNN error: CUDNN_STATUS_NOT_INITIALIZED (createCuDNNHandle at /pytorch/aten/src/ATen/cudnn/Handle.cpp:9)