tensorflow::ops::QuantizedAdd

#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: QuantizedAdd supports limited forms of broadcasting. More about broadcasting here

Constructors and Destructors

QuantizedAdd(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)
QuantizedAdd(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 QuantizedAdd::Attrs & attrs)

Public attributes

max_z
min_z
z

Public static functions

Toutput(DataType x)

Structs

tensorflow::ops::QuantizedAdd::Attrs

Optional attribute setters for QuantizedAdd.

Public attributes

max_z

::tensorflow::Output max_z

min_z

::tensorflow::Output min_z

z

::tensorflow::Output z

Public functions

QuantizedAdd

 QuantizedAdd(
  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
)

QuantizedAdd

 QuantizedAdd(
  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 QuantizedAdd::Attrs & attrs
)

Public static functions

Toutput

Attrs Toutput(
  DataType x
)