tf.raw_ops.QuantizedRelu
bookmark_border bookmark
Stay organized with collections
Save and categorize content based on your preferences.
Computes Quantized Rectified Linear: max(features, 0)
View aliases
Compat aliases for migration
See
Migration guide for
more details.
tf.compat.v1.raw_ops.QuantizedRelu
tf . raw_ops . QuantizedRelu (
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).
Returns
A tuple of Tensor
objects (activations, min_activations, max_activations).
activations
A Tensor
of type out_type
.
min_activations
A Tensor
of type float32
.
max_activations
A Tensor
of type float32
.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license .
Last updated 2024-01-23 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-01-23 UTC."],[],[]]