Skip to content
heliaAOT
HELIA HUB

AirPadOptions

Machine-readable model

class

Options for the PAD operator.

helia_aot/air/options.py:486

AirPadOptions()

Options for the PAD operator.

attribute

helia_aot/air/options.py:499

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:500

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:501

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

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