(rontolisp) docs
← Functions

torch:tensorp

(torch:tensorp x)

Returns whether x is a torch tensor (the value torch:tensor and every torch operation build); anything else -- a linalg array included -- answers nil.