public final class
QuantizedAvgPool
Produces the average 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> QuantizedAvgPool<T> | |
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:
"QuantizedAvgPool"
Public Methods
public static QuantizedAvgPool<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 QuantizedAvgPool operation.
Parameters
scope | current scope |
---|---|
input | 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. |
Returns
- a new instance of QuantizedAvgPool
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.