(rontolisp) docs
← 関数

torch:tensorp

(torch:tensorp x)

x が torch のテンソル (torch:tensor とすべての torch 演算が作る値) かどうかを返します。linalg 配列を含め、それ以外は nil です。