返回输入tensor的shape。
input_x (Tensor) - vpn永久免费梯子 vpn梯子 输入tensor。
tuple[int]
Ascend GPU CPU
Ascend
GPU
CPU
样例:
>>> import mindspore >>> input_x = mindspore.ops.ones(shape=[3, 2, 免费的vpn梯子 1]) >>> output = vpn free mindspore.ops.shape(input_x) >>> print(output) (3, 2, 1)