Stay organized with collections
Save and categorize content based on your preferences.
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.
Public static functions
|
OutType(DataType x)
|
|
Public attributes
Public functions
Public static functions
OutType
Attrs OutType(
DataType x
)
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 2021-11-15 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 2021-11-15 UTC."],[],[],null,["# tensorflow::ops::QuantizedRelu6 Class Reference\n\ntensorflow::ops::QuantizedRelu6\n===============================\n\n`#include \u003cnn_ops.h\u003e`\n\nComputes Quantized Rectified Linear 6: `min(max(features, 0), 6)`\n\nSummary\n-------\n\nArgs:\n\n- scope: A [Scope](/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- min_features: The float value that the lowest quantized value represents.\n- max_features: The float value that the highest quantized value represents.\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) activations: Has the same output shape as \"features\".\n- [Output](/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) min_activations: The float value that the lowest quantized value represents.\n- [Output](/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) max_activations: The float value that the highest quantized value represents.\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [QuantizedRelu6](#classtensorflow_1_1ops_1_1_quantized_relu6_1a878166661980db1eef4b8c9d50fc30bd)`(const ::`[tensorflow::Scope](/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` features, ::`[tensorflow::Input](/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` min_features, ::`[tensorflow::Input](/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` max_features)` ||\n| [QuantizedRelu6](#classtensorflow_1_1ops_1_1_quantized_relu6_1a0b98f095d6d5b347b4c2dcc3a01e8ec2)`(const ::`[tensorflow::Scope](/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` features, ::`[tensorflow::Input](/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` min_features, ::`[tensorflow::Input](/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` max_features, const `[QuantizedRelu6::Attrs](/api_docs/cc/struct/tensorflow/ops/quantized-relu6/attrs#structtensorflow_1_1ops_1_1_quantized_relu6_1_1_attrs)` & attrs)` ||\n\n| ### Public attributes ||\n|---------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------|\n| [activations](#classtensorflow_1_1ops_1_1_quantized_relu6_1a0195a63b71b99cf501ef199e1268ff86) | `::`[tensorflow::Output](/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [max_activations](#classtensorflow_1_1ops_1_1_quantized_relu6_1a6f102937d57571fa7694537be05d453b) | `::`[tensorflow::Output](/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [min_activations](#classtensorflow_1_1ops_1_1_quantized_relu6_1a7f0565bd18f8a108c1bddef3b8fc547b) | `::`[tensorflow::Output](/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [operation](#classtensorflow_1_1ops_1_1_quantized_relu6_1a90c72f4f64dfe25a7764d19e04acda03) | [Operation](/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n\n| ### Public static functions ||\n|---------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------|\n| [OutType](#classtensorflow_1_1ops_1_1_quantized_relu6_1af73914317d242138de7fb5ac4d3faaa1)`(DataType x)` | [Attrs](/api_docs/cc/struct/tensorflow/ops/quantized-relu6/attrs#structtensorflow_1_1ops_1_1_quantized_relu6_1_1_attrs) |\n\n| ### Structs ||\n|----------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------|\n| [tensorflow::ops::QuantizedRelu6::Attrs](/api_docs/cc/struct/tensorflow/ops/quantized-relu6/attrs) | Optional attribute setters for [QuantizedRelu6](/api_docs/cc/class/tensorflow/ops/quantized-relu6#classtensorflow_1_1ops_1_1_quantized_relu6). |\n\nPublic attributes\n-----------------\n\n### activations\n\n```text\n::tensorflow::Output activations\n``` \n\n### max_activations\n\n```scdoc\n::tensorflow::Output max_activations\n``` \n\n### min_activations\n\n```scdoc\n::tensorflow::Output min_activations\n``` \n\n### operation\n\n```text\nOperation operation\n``` \n\nPublic functions\n----------------\n\n### QuantizedRelu6\n\n```gdscript\n QuantizedRelu6(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input features,\n ::tensorflow::Input min_features,\n ::tensorflow::Input max_features\n)\n``` \n\n### QuantizedRelu6\n\n```gdscript\n QuantizedRelu6(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input features,\n ::tensorflow::Input min_features,\n ::tensorflow::Input max_features,\n const QuantizedRelu6::Attrs & attrs\n)\n``` \n\nPublic static functions\n-----------------------\n\n### OutType\n\n```text\nAttrs OutType(\n DataType x\n)\n```"]]