Skip to content

op_keys

Classes

Functions

custom_code_to_op_key

custom_code_to_op_key(custom_code: str | bytes | bytearray) -> str

Convert LiteRT customCode into the canonical registry key.

canonical_op_key

canonical_op_key(value: AirOpType | str) -> str

Normalize op identifiers to uppercase string keys.