class
AirConv2DOptions
PythonOptions for CONV2D.
AirConv2DOptions()Options for CONV_2D.
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 (default 1).
attribute
dilation_width
Pythondilation_width: int = Field(1, description='Horizontal dilation')horizontal dilation (default 1).
attribute
activation
Pythonactivation: AirActivationType = Field(AirActivationType.NONE, description='Fused activation function')fused activation function (default NONE).
attribute
bias_tensor_type
Pythonbias_tensor_type: AirTensorType = Field(AirTensorType.FLOAT32, description='Bias tensor type')bias tensor type.
attribute
upscale_height
Pythonupscale_height: int = Field(1, description='Implicit height upscaling factor applied before convolution')implicit height upscaling factor applied before convolution.
attribute
upscale_width
Pythonupscale_width: int = Field(1, description='Implicit width upscaling factor applied before convolution')implicit width upscaling factor applied before convolution.