Returns a proxy object for accessing DLTensor::shape
(self)
| 278 | |
| 279 | @property |
| 280 | def shape(self) -> "_DLTensorShapeProxy": |
| 281 | """Returns a proxy object for accessing DLTensor::shape""" |
| 282 | self._check_for_tensor_struct_info() |
| 283 | return _DLTensorShapeProxy(self) |
| 284 | |
| 285 | @property |
| 286 | def strides(self) -> "_DLTensorStrideProxy": |