torch:training-p
(torch:training-p module)
Returns T when the module is in training mode, NIL in evaluation mode. A module starts in training mode; torch:train and torch:eval switch it, recursively through submodules.
(torch:training-p module)
Returns T when the module is in training mode, NIL in evaluation mode. A module starts in training mode; torch:train and torch:eval switch it, recursively through submodules.