tf.nn.quantized_relu_x(
features,
max_value,
min_features,
max_features,
out_type=tf.dtypes.quint8,
name=None
)
Defined in generated file: tensorflow/python/ops/gen_nn_ops.py.
Computes Quantized Rectified Linear X: min(max(features, 0), max_value)
Args:
features: ATensor. Must be one of the following types:qint8,quint8,qint32,qint16,quint16.max_value: ATensorof typefloat32.min_features: ATensorof typefloat32. The float value that the lowest quantized value represents.max_features: ATensorof typefloat32. The float value that the highest quantized value represents.out_type: An optionaltf.DTypefrom:tf.qint8, tf.quint8, tf.qint32, tf.qint16, tf.quint16. Defaults totf.quint8.name: A name for the operation (optional).
Returns:
A tuple of Tensor objects (activations, min_activations, max_activations).
activations: ATensorof typeout_type.min_activations: ATensorof typefloat32.max_activations: ATensorof typefloat32.