T
- data type for output()
output@Operator(group="nn") public final class QuantizedMaxPool<T> extends PrimitiveOp
operation
Modifier and Type | Method and Description |
---|---|
static <T> QuantizedMaxPool<T> |
create(Scope scope,
Operand<T> input,
Operand<Float> minInput,
Operand<Float> maxInput,
List<Long> ksize,
List<Long> strides,
String padding)
Factory method to create a class wrapping a new QuantizedMaxPool operation.
|
Output<Float> |
maxOutput()
The float value that the highest quantized output value represents.
|
Output<Float> |
minOutput()
The float value that the lowest quantized output value represents.
|
Output<T> |
output() |
equals, hashCode, op, toString
public static <T> QuantizedMaxPool<T> create(Scope scope, Operand<T> input, Operand<Float> minInput, Operand<Float> maxInput, List<Long> ksize, List<Long> strides, String padding)
scope
- current scopeinput
- 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.public Output<Float> minOutput()
Copyright © 2022. All rights reserved.