QuantizedRelu6
tensorflow C++ API
tensorflow::ops::QuantizedRelu6
Computes Quantized Rectified Linear 6:min(max(features, 0), 6)
Summary
Arguments:
- scope: A Scope object
- min_features: The float value that the lowest quantized value represents.
- max_features: The float value that the highest quantized value represents.
Returns:
Output
activations: Has the same output shape as "features".Output
min_activations: The float value that the lowest quantized value represents.Output
max_activations: The float value that the highest quantized value represents.
QuantizedRelu6 block
Source link : https://github.com/EXPNUNI/enuSpaceTensorflow/blob/master/enuSpaceTensorflow/tf_nn.cpp
Argument:
- Scope scope : A Scope object (A scope is generated automatically each page. A scope is not connected.)
- Input min_features: connect Input node.
- Input max_features: connect Input node.
- QuantizedRelu6 ::Attrs attrs:input QuantizedRelu6 ::Attrs in value. ex)out_type_= DT_QUINT8;
Return:
- Output activations: Output object of QuantizedRelu6 class object.
- Output min_activations: Output object of QuantizedRelu6 class object.
- Output max_activations: Output object of QuantizedRelu6 class object.
Result:
- std::vector(Tensor) result_activations : Returned object of executed result by calling session.
- std::vector(Tensor) result_min_activations : Returned object of executed result by calling session.
- std::vector(Tensor) result_max_activations : Returned object of executed result by calling session.