Enum anira_binding#

enum anira_binding#

How a plan bound a slot to the engine’s tensor (anira_plan_slot.binding): by name where the engine’s side has names, by position otherwise, checked against the spec’s shape and dtype at prepare either way; a custom engine received the names in its load record and bound itself.

Values:

enumerator ANIRA_BINDING_POSITION#

The slot’s position: in the signature’s order where the engine runs one, in the graph or method order elsewhere.

enumerator ANIRA_BINDING_NAME#

The engine tensor of that name: the entry’s tensors record, else the canonical name.

enumerator ANIRA_BINDING_ENGINE#

A custom engine: it received the names in its anira_engine_load_info and bound itself.

enumerator ANIRA_BINDING_FORCE32#