torch:modulep
(torch:modulep x)
Returns T when x is a torch module (the fixed-layout record torch:module builds), NIL otherwise. A tensor is not a module.
(torch:modulep x)
Returns T when x is a torch module (the fixed-layout record torch:module builds), NIL otherwise. A tensor is not a module.