文档中心get_shape返回顶部 get_shape Function UsageObtains the tensor shape. Prototype1get_shape() -> List[int] ParametersNone Returns(List[int]) list. ConstraintsIf the value fails to be obtained, RuntimeError is thrown. Parent topic: Tensor