get_shape
Function Usage
Obtains the tensor shape.
Prototype
1 | get_shape() -> List[int] |
Parameters
None
Returns
(List[int]) list.
Constraints
If the value fails to be obtained, RuntimeError is thrown.
Parent topic: Tensor
Obtains the tensor shape.
1 | get_shape() -> List[int] |
None
(List[int]) list.
If the value fails to be obtained, RuntimeError is thrown.