QuantizedMaxPool

public final class QuantizedMaxPool

Produces the max pool of the input tensor for quantized types.

Constants

String OP_NAME The name of this op, as known by TensorFlow core engine

Public Methods

static <T extends TType> QuantizedMaxPool<T>
create(Scope scope, Operand<T> input, Operand<TFloat32> minInput, Operand<TFloat32> maxInput, List<Long> ksize, List<Long> strides, String padding)
Factory method to create a class wrapping a new QuantizedMaxPool operation.
Output<TFloat32>
maxOutput()
The float value that the highest quantized output value represents.
Output<TFloat32>
minOutput()
The float value that the lowest quantized output value represents.
Output<T>
output()

Inherited Methods

Constants

public static final String OP_NAME

The name of this op, as known by TensorFlow core engine

Constant Value: "QuantizedMaxPool"

Public Methods

public static QuantizedMaxPool<T> create (Scope scope, Operand<T> input, Operand<TFloat32> minInput, Operand<TFloat32> maxInput, List<Long> ksize, List<Long> strides, String padding)

Factory method to create a class wrapping a new QuantizedMaxPool operation.

Parameters
scope current scope
input The 4D (batch x rows x cols x depth) Tensor to MaxReduce over.
minInput The float value that the lowest quantized input value represents.
maxInput The float value that the highest quantized input value represents.
ksize The size of the window for each dimension of the input tensor. The length must be 4 to match the number of dimensions of the input.
strides The stride of the sliding window for each dimension of the input tensor. The length must be 4 to match the number of dimensions of the input.
padding The type of padding algorithm to use.
Returns
  • a new instance of QuantizedMaxPool

public Output<TFloat32> maxOutput ()

The float value that the highest quantized output value represents.

public Output<TFloat32> minOutput ()

The float value that the lowest quantized output value represents.

public Output<T> output ()