API reference
python:irx:irx.builtins.collections
module collections
irx.builtins.collections
Source: packages/irx/src/irx/builtins/collections/__init__.py:1
Builtin collection support for IRX.
Modules
-
array_primitives — Shared primitive array storage metadata.
-
column_types — Resolve exact parameterized column schemas during semantic analysis.
-
dataframe — DataFrame helpers layered on the builtin Arrow runtime.
-
list — Minimal dynamic-list metadata and type helpers.
-
tensor — Tensor layout helpers layered on the builtin tensor runtime.
Classes
-
ArrayPrimitiveTypeSpec — Supported builtin array primitive storage type metadata.
-
TensorLayout — Static Tensor layout metadata.
-
TensorOrder — Canonical contiguous layout order for Tensor helpers.
Functions
-
list_element_type — Return one concrete list element type when available.
-
list_has_concrete_element_type — Return whether one list type has a single concrete element type.
-
tensor_byte_bounds — Return the minimum and maximum element-start byte offsets.
-
tensor_default_strides — Return canonical byte strides for one contiguous Tensor shape.
-
tensor_element_count — Return the logical element count for one layout.
-
tensor_element_size_bytes — Return the byte width for one Tensor element type.
-
tensor_element_size_bytes_from_dtype — Return the byte width for one canonical primitive dtype handle.
-
tensor_is_c_contiguous — Return whether one layout matches canonical C-order strides.
-
tensor_is_f_contiguous — Return whether one layout matches canonical Fortran-order strides.
-
tensor_primitive_type_name — Return the builtin primitive storage name for one Tensor element.
-
validate_tensor_layout — Validate one static Tensor layout.