Skip to content
heliaAOT
API Reference
HELIA HUB

AirPadOptions

Machine-readable model

class

Options for the PAD operator.

helia_aot/air/options.py:512

AirPadOptions()

Options for the PAD operator.

Provisional: importable, but outside the compatibility promise; a minor release can change or remove it.

attribute

helia_aot/air/options.py:525

constant_value: int | float = Field(0, description='Value to use for padding')

Value to use for padding (default 0). LiteRT’s PADV2 parser forwards the fill scalar with its native numeric type, so fractional float constants (e.g. 0.5 for an FP32/FP16 pad) must be preserved rather than coerced to int.

attribute

helia_aot/air/options.py:526

pre_paddings: list[int] | None = Field(None, description='List of padding sizes before each dimension')

List of padding sizes before each dimension (default None).

attribute

helia_aot/air/options.py:527

post_paddings: list[int] | None = Field(None, description='List of padding sizes after each dimension')

List of padding sizes after each dimension (default None).