获取运行时Tensor的shape,此shape对象是可变的。
Shape &MutableStorageShape()
无。
运行时shape的引用。
StorageShape sh({1, 2, 3}, {2, 1, 3}); Tensor t = {sh, {}, {}, ge::DT_FLOAT, nullptr}; auto shape = t.MutableStorageShape(); // 2,1,3