public final class
QuantizedRelu6
Computes Quantized Rectified Linear 6: `min(max(features, 0), 6)`
Constants
String | OP_NAME | The name of this op, as known by TensorFlow core engine |
Public Methods
Output<U> |
activations()
Has the same output shape as "features".
|
static <U extends TType> QuantizedRelu6<U> | |
Output<TFloat32> |
maxActivations()
The float value that the highest quantized value represents.
|
Output<TFloat32> |
minActivations()
The float value that the lowest quantized value represents.
|
Inherited Methods
Constants
public static final String OP_NAME
The name of this op, as known by TensorFlow core engine
Constant Value:
"QuantizedRelu6"
Public Methods
public static QuantizedRelu6<U> create (Scope scope, Operand<? extends TType> features, Operand<TFloat32> minFeatures, Operand<TFloat32> maxFeatures, Class<U> outType)
Factory method to create a class wrapping a new QuantizedRelu6 operation.
Parameters
scope | current scope |
---|---|
minFeatures | The float value that the lowest quantized value represents. |
maxFeatures | The float value that the highest quantized value represents. |
Returns
- a new instance of QuantizedRelu6
public Output<TFloat32> maxActivations ()
The float value that the highest quantized value represents.