Dtype#
- class omni.graph.core.Dtype(
- tuple_count: int | None = None,
- size: int | None = None,
- base_type: BaseDataType | None = None,
- ctype: object | None = None,
Bases:
object
Common base type for dtypes, defining the members each needs to populate .. attribute:: tuple_count
The number of atomic elements in this type
- type:
int
- size#
The total size in bytes of this type
- Type:
int
- base_type#
The base data type of this type
- ctype#
The ctypes representation used by this data type in Fabric
- Type:
object
Methods
__init__
([tuple_count, size, base_type, ctype])Returns true if the dtype is a matrix.
Attributes
- __init__(
- tuple_count: int | None = None,
- size: int | None = None,
- base_type: BaseDataType | None = None,
- ctype: object | None = None,
- classmethod is_matrix_type() bool #
Returns true if the dtype is a matrix. Uses derived class knowledge to keep it simple