Computes Quantized Rectified Linear 6: min(max(features, 0), 6)
tf.raw_ops.QuantizedRelu6( features, min_features, max_features, out_type=tf.dtypes.quint8
, name=None )
Args | |
---|---|
features | A Tensor . Must be one of the following types: qint8 , quint8 , qint32 , qint16 , quint16 . |
min_features | A Tensor of type float32 . The float value that the lowest quantized value represents. |
max_features | A Tensor of type float32 . The float value that the highest quantized value represents. |
out_type | An optional tf.DType from: tf.qint8, tf.quint8, tf.qint32, tf.qint16, tf.quint16 . Defaults to tf.quint8 . |
name | A name for the operation (optional). |