class
Options for the DEPTHWISECONV2D operator.
AirDepthwiseConv2DOptions()Options for the DEPTHWISE_CONV_2D operator.
Provisional: importable, but outside the compatibility promise; a minor release can change or remove it.
attribute
depth_multiplier
Pythondepth_multiplier: int = Field(1, description='Number of output channels per input channel')number of output channels per input channel (default 1).
attribute
padding_height
Pythonpadding_height: int = Field(0, description='Padding for top & bottom')padding for top & bottom (default 0).
attribute
padding_width
Pythonpadding_width: int = Field(0, description='Padding for left & right')padding for left & right (default 0).
attribute
stride_height
Pythonstride_height: int = Field(1, description='Vertical stride')vertical stride (default 1).
attribute
stride_width
Pythonstride_width: int = Field(1, description='Horizontal stride')horizontal stride (default 1).
attribute
dilation_height
Pythondilation_height: int = Field(1, description='Vertical dilation')vertical dilation factor (default 1).
attribute
dilation_width
Pythondilation_width: int = Field(1, description='Horizontal dilation')horizontal dilation factor (default 1).
attribute
activation
Pythonactivation: AirActivationType = Field(AirActivationType.NONE, description='Fused activation function')fused activation function (default NONE).
attribute
padding
Pythonpadding: AirPaddingType | None = Field(None, description='LiteRT padding type the paddings were derived from; None when unknown')LiteRT padding type the paddings were derived from (default None).