Closed bearpaw closed 7 years ago
Hi all,
When training on a single GPU, the gradInput is returned correctly after calling :backward.
gradInput
:backward
However, when using with DataParallelTable , the gradInput is nil after backward. Is this a bug of nngraph when using with DataParallelTable?
DataParallelTable
nil
I found it is related to DataParallelTable. The gradInput in DataParallelTable is actually saved as gradInputGpu from the source code
gradInputGpu
Hi all,
When training on a single GPU, the
gradInput
is returned correctly after calling:backward
.However, when using with
DataParallelTable
, thegradInput
isnil
after backward. Is this a bug of nngraph when using withDataParallelTable
?