T - data type for output() output@Operator public final class QuantizedAvgPool<T> extends PrimitiveOp
operation| Modifier and Type | Method and Description |
|---|---|
static <T> QuantizedAvgPool<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 to wrap a new QuantizedAvgPool operation to the graph.
|
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, toStringpublic static <T> QuantizedAvgPool<T> create(Scope scope, Operand<T> input, Operand<Float> minInput, Operand<Float> maxInput, List<Long> ksize, List<Long> strides, String padding)
scope - current graph scopeinput - 4-D with shape `[batch, height, width, channels]`.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 © 2015–2019. All rights reserved.