类说明 返回输入Tensor的Shape,即维度1D、类型为Int32的Tensor。 继承关系 ShapeLayer继承自class ascendie.BaseLayer。 继承的成员变量:成员变量 继承的成员方法: def get_input(self: BaseLayer, index: int) -> Tensor def get_output(self: BaseLayer, index: int) -> Tensor def set_input(self: BaseLayer, index: int, tensor: Tensor) 父主题: class ascendie.ShapeLayer