class
AirFullyConnectedOptions
PythonOptions for the FULLYCONNECTED operator.
AirFullyConnectedOptions()Options for the FULLY_CONNECTED operator.
attribute
activation
Pythonactivation: AirActivationType = Field(AirActivationType.NONE, description='Fused activation function')Fused activation function (default NONE).
attribute
weights_format
Pythonweights_format: FullyConnectedWeightsFormat = Field(AirFullyConnectedWeightsFormat.DEFAULT, description='Memory layout of the weights matrix')Memory layout of the weights matrix (default DEFAULT, i.e. row-major).
attribute
keep_num_dims
Pythonkeep_num_dims: bool = Field(False, description="If True, preserve the input's rank in the output")If True, preserve the input’s rank in the output. Otherwise, collapse to 2D (default False).
attribute
asymmetric_quantize_inputs: bool = Field(False, description='If True, use asymmetric quantization for inputs')If True, use asymmetric quantization for inputs (default False).
attribute
bias_tensor_type
Pythonbias_tensor_type: AirTensorType = Field(AirTensorType.FLOAT32, description='Bias tensor type')Data type of the bias tensor. FLOAT32 for hybrid/dynamic-range quant, INT32 for full-integer quant (default FLOAT32).