MCPcopy Create free account
hub / github.com/apache/tvm-ffi / __len__

Method __len__

python/tvm_ffi/container.py:224–226  ·  view source on GitHub ↗

Return the number of elements in the array.

(self)

Source from the content-addressed store, hash-verified

222 return result
223
224 def __len__(self) -> int:
225 """Return the number of elements in the array."""
226 return _ffi_api.ArraySize(self)
227
228 def __iter__(self) -> Iterator[T]:
229 """Iterate over the elements in the array."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected