API reference
python:irx:irx.analysis.handlers._expressions.tensor_buffer_support.ExpressionTensorBufferSupportVisitorMixin
class ExpressionTensorBufferSupportVisitorMixin
Source: packages/irx/src/irx/analysis/handlers/_expressions/tensor_buffer_support.py:38
Tensor and buffer metadata helpers.
Methods
-
_static_buffer_view_element_type — Return the scalar element type when analysis can prove it.
-
_static_buffer_view_metadata — Return static buffer metadata when analysis can prove it.
-
_static_integer_literal_value — Return a static integer literal value when present.
-
_static_tensor_element_type — Return the scalar tensor element type when analysis can prove it.
-
_static_tensor_flags — Return static Tensor flags when analysis can prove them.
-
_static_tensor_layout — Return static tensor layout metadata when analysis can prove it.
-
_validate_buffer_lifetime_operation — Validate one explicit buffer lifetime helper operation.
-
_validate_buffer_view_index_operation — Validate one low-level buffer view indexed access.
-
_validate_tensor_index_operation — Validate one Tensor indexed access.
-
_validate_tensor_lifetime_operation — Validate one explicit Tensor lifetime helper operation.