shape属性
多次元配列の形状を返す属性のこと。
NumPyの
配列
(ndarray)については
shape属性【numpy】
、PyTorchの
テンソル
型については
shape属性【torch】
を参照。