UniformQuantizedAdd.Options

public static class UniformQuantizedAdd.Options

Optional attributes for UniformQuantizedAdd

Public Methods

UniformQuantizedAdd.Options
lhsQuantizationAxis(Long lhsQuantizationAxis)
UniformQuantizedAdd.Options
outputQuantizationAxis(Long outputQuantizationAxis)
UniformQuantizedAdd.Options
rhsQuantizationAxis(Long rhsQuantizationAxis)

Inherited Methods

Public Methods

public UniformQuantizedAdd.Options lhsQuantizationAxis (Long lhsQuantizationAxis)

Parameters
lhsQuantizationAxis Indicates the dimension index of the tensor where per-axis quantization is applied for the slices along that dimension. If set to -1 (default), this indicates per-tensor quantization. For the `lhs`, only per-tensor quantization is supported. Thus, this must be set to -1. Other values will raise error at OpKernel construction.

public UniformQuantizedAdd.Options outputQuantizationAxis (Long outputQuantizationAxis)

Parameters
outputQuantizationAxis Indicates the dimension index of the tensor where per-axis quantization is applied for the slices along that dimension. If set to -1 (default), this indicates per-tensor quantization. For the `output`, only per-tensor quantization or per-channel quantization along `output_feature_dimension` is supported. Thus, this must be set to -1 or `dimension_numbers.output_feature_dimension`. Other values will raise error at OpKernel construction.

public UniformQuantizedAdd.Options rhsQuantizationAxis (Long rhsQuantizationAxis)

Parameters
rhsQuantizationAxis Indicates the dimension index of the tensor where per-axis quantization is applied for the slices along that dimension. If set to -1 (default), this indicates per-tensor quantization. For the `rhs`, only per-tensor quantization or per-channel quantization along `kernel_output_feature_dimension` is supported. Thus, this must be set to -1 or `dimension_numbers.kernel_output_feature_dimension`. Other values will raise error at OpKernel construction.