W3cubDocs

/TensorFlow C++

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 attributes
max_z
min_z
z
Public static functions
Toutput(DataType x)
Structs
tensorflow::ops::QuantizedMul::Attrs

Optional attribute setters for QuantizedMul.

Public attributes

max_z

::tensorflow::Output max_z

min_z

::tensorflow::Output min_z

z

::tensorflow::Output z

Public functions

QuantizedMul

 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

 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

Attrs Toutput(
  DataType x
)

© 2017 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/quantized-mul.html