MCPcopy Create free account
hub / github.com/NVIDIA/DALI / itemsize

Method itemsize

dali/python/nvidia/dali/experimental/dynamic/_tensor.py:516–520  ·  view source on GitHub ↗

The size, in bytes, of a single element.

(self)

Source from the content-addressed store, hash-verified

514
515 @property
516 def itemsize(self) -> int:
517 """
518 The size, in bytes, of a single element.
519 """
520 return self.dtype.bytes
521
522 def item(self) -> Any:
523 """

Callers 2

PyArrayPayloadMethod · 0.80
PYBIND11_MODULEFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected