UniformQuantize.Options

public static class UniformQuantize.Options

Optional attributes for UniformQuantize

Public Methods

UniformQuantize.Options
quantizationAxis(Long quantizationAxis)

Inherited Methods

Public Methods

public UniformQuantize.Options quantizationAxis (Long quantizationAxis)

Parameters
quantizationAxis 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. Otherwise, it must be set within range [0, input.dims()).