torch:optimizerp
(torch:optimizerp x)
Returns T when x is a torch optimizer -- the fixed-layout record torch:optimizer builds -- and NIL for anything else, including a tensor or a module.
(torch:optimizerp x)
Returns T when x is a torch optimizer -- the fixed-layout record torch:optimizer builds -- and NIL for anything else, including a tensor or a module.