Stay organized with collections
Save and categorize content based on your preferences.
tensorflow::ops::QuantizedMul
#include <math_ops.h>
Returns x * y element-wise, working on quantized buffers.
Summary
Arguments:
- scope: A Scope object
- min_x: The float value that the lowest quantized
x
value represents.
- max_x: The float value that the highest quantized
x
value represents.
- min_y: The float value that the lowest quantized
y
value represents.
- max_y: The float value that the highest quantized
y
value represents.
Returns:
Output
z
Output
min_z: The float value that the lowest quantized output value represents.
Output
max_z: The float value that the highest quantized output value represents.
NOTE: QuantizedMul
supports limited forms of broadcasting. More about broadcasting here
Constructors and Destructors
|
QuantizedMul(const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input y, ::tensorflow::Input min_x, ::tensorflow::Input max_x, ::tensorflow::Input min_y, ::tensorflow::Input max_y)
|
QuantizedMul(const ::tensorflow::Scope & scope, ::tensorflow::Input x, ::tensorflow::Input y, ::tensorflow::Input min_x, ::tensorflow::Input max_x, ::tensorflow::Input min_y, ::tensorflow::Input max_y, const QuantizedMul::Attrs & attrs)
|
Public static functions
|
Toutput(DataType x)
|
|
Public attributes
Public functions
Public static functions
Toutput
Attrs Toutput(
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.
Last updated 2020-04-20 UTC.
[null,null,["Last updated 2020-04-20 UTC."],[],[],null,["# tensorflow::ops::QuantizedMul Class Reference\n\ntensorflow::ops::QuantizedMul\n=============================\n\n`#include \u003cmath_ops.h\u003e`\n\nReturns x \\* y element-wise, working on quantized buffers.\n\nSummary\n-------\n\nArguments:\n\n- scope: A [Scope](/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- min_x: The float value that the lowest quantized `x` value represents.\n- max_x: The float value that the highest quantized `x` value represents.\n- min_y: The float value that the lowest quantized `y` value represents.\n- max_y: The float value that the highest quantized `y` value represents.\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) z\n- [Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) min_z: The float value that the lowest quantized output value represents.\n- [Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) max_z: The float value that the highest quantized output value represents.\n\n\u003cbr /\u003e\n\n*NOTE* : [QuantizedMul](/versions/r1.15/api_docs/cc/class/tensorflow/ops/quantized-mul#classtensorflow_1_1ops_1_1_quantized_mul) supports limited forms of broadcasting. More about broadcasting [here](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html)\n\n| ### Constructors and Destructors ||\n|---|---|\n| [QuantizedMul](#classtensorflow_1_1ops_1_1_quantized_mul_1a3ba8e6004d636153b34120d1c3941667)`(const ::`[tensorflow::Scope](/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` x, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` y, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` min_x, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` max_x, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` min_y, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` max_y)` ||\n| [QuantizedMul](#classtensorflow_1_1ops_1_1_quantized_mul_1aa33fe92400d9e03bdf4cf2ae9d212006)`(const ::`[tensorflow::Scope](/versions/r1.15/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` x, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` y, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` min_x, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` max_x, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` min_y, ::`[tensorflow::Input](/versions/r1.15/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` max_y, const `[QuantizedMul::Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/quantized-mul/attrs#structtensorflow_1_1ops_1_1_quantized_mul_1_1_attrs)` & attrs)` ||\n\n| ### Public attributes ||\n|-------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|\n| [max_z](#classtensorflow_1_1ops_1_1_quantized_mul_1a5ff7dd8084555c1a85768b5c4ba9704a) | `::`[tensorflow::Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [min_z](#classtensorflow_1_1ops_1_1_quantized_mul_1afa5b6bf4063d76339c00b804ae843ea4) | `::`[tensorflow::Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [operation](#classtensorflow_1_1ops_1_1_quantized_mul_1ab0c6bd533e83faf6b05fde3f340b0e5f) | [Operation](/versions/r1.15/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [z](#classtensorflow_1_1ops_1_1_quantized_mul_1ab1a8cf9a36910fbb171aeb6925e47d93) | `::`[tensorflow::Output](/versions/r1.15/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n\n| ### Public static functions ||\n|-------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------|\n| [Toutput](#classtensorflow_1_1ops_1_1_quantized_mul_1a1c9da9e324d218df917b74a11a3af452)`(DataType x)` | [Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/quantized-mul/attrs#structtensorflow_1_1ops_1_1_quantized_mul_1_1_attrs) |\n\n| ### Structs ||\n|---------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [tensorflow::ops::QuantizedMul::Attrs](/versions/r1.15/api_docs/cc/struct/tensorflow/ops/quantized-mul/attrs) | Optional attribute setters for [QuantizedMul](/versions/r1.15/api_docs/cc/class/tensorflow/ops/quantized-mul#classtensorflow_1_1ops_1_1_quantized_mul). |\n\nPublic attributes\n-----------------\n\n### max_z\n\n```scdoc\n::tensorflow::Output max_z\n``` \n\n### min_z\n\n```scdoc\n::tensorflow::Output min_z\n``` \n\n### operation\n\n```text\nOperation operation\n``` \n\n### z\n\n```text\n::tensorflow::Output z\n``` \n\nPublic functions\n----------------\n\n### QuantizedMul\n\n```gdscript\n QuantizedMul(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input x,\n ::tensorflow::Input y,\n ::tensorflow::Input min_x,\n ::tensorflow::Input max_x,\n ::tensorflow::Input min_y,\n ::tensorflow::Input max_y\n)\n``` \n\n### QuantizedMul\n\n```gdscript\n QuantizedMul(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input x,\n ::tensorflow::Input y,\n ::tensorflow::Input min_x,\n ::tensorflow::Input max_x,\n ::tensorflow::Input min_y,\n ::tensorflow::Input max_y,\n const QuantizedMul::Attrs & attrs\n)\n``` \n\nPublic static functions\n-----------------------\n\n### Toutput\n\n```text\nAttrs Toutput(\n DataType x\n)\n```"]]