Returns the runtime value of DLTensor::ndim
(self)
| 271 | |
| 272 | @property |
| 273 | def ndim(self) -> "Expr": |
| 274 | """Returns the runtime value of DLTensor::ndim""" |
| 275 | self._check_for_tensor_struct_info() |
| 276 | op = tvm.ir.Op.get("relax.inspect.tensor_ndim") |
| 277 | return tvm.relax.Call(op, [self]) |
| 278 | |
| 279 | @property |
| 280 | def shape(self) -> "_DLTensorShapeProxy": |
nothing calls this directly
no test coverage detected