tensorflow:: ops:: QuantizedRelu6
#include <nn_ops.h>
Computes Quantized Rectified Linear 6: min(max(features, 0), 6)
Summary
Args:
- 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.
Constructors and Destructors |
|
---|---|
QuantizedRelu6(const ::tensorflow::Scope & scope, ::tensorflow::Input features, ::tensorflow::Input min_features, ::tensorflow::Input max_features)
|
|
QuantizedRelu6(const ::tensorflow::Scope & scope, ::tensorflow::Input features, ::tensorflow::Input min_features, ::tensorflow::Input max_features, const QuantizedRelu6::Attrs & attrs)
|
Public attributes |
|
---|---|
activations
|
|
max_activations
|
|
min_activations
|
|
operation
|
Public static functions |
|
---|---|
OutType(DataType x)
|
Structs |
|
---|---|
tensorflow:: |
Optional attribute setters for QuantizedRelu6. |
Public attributes
activations
::tensorflow::Output activations
max_activations
::tensorflow::Output max_activations
min_activations
::tensorflow::Output min_activations
operation
Operation operation
Public functions
QuantizedRelu6
QuantizedRelu6( const ::tensorflow::Scope & scope, ::tensorflow::Input features, ::tensorflow::Input min_features, ::tensorflow::Input max_features )
QuantizedRelu6
QuantizedRelu6( const ::tensorflow::Scope & scope, ::tensorflow::Input features, ::tensorflow::Input min_features, ::tensorflow::Input max_features, const QuantizedRelu6::Attrs & attrs )
Public static functions
OutType
Attrs OutType( DataType x )