QuantizedAdd

public final class QuantizedAdd

Returns x + y element-wise, working on quantized buffers.

Constants

String OP_NAME The name of this op, as known by TensorFlow core engine

Public Methods

static <V extends TType> QuantizedAdd<V>
create(Scope scope, Operand<? extends TType> x, Operand<? extends TType> y, Operand<TFloat32> minX, Operand<TFloat32> maxX, Operand<TFloat32> minY, Operand<TFloat32> maxY, Class<V> Toutput)
Factory method to create a class wrapping a new QuantizedAdd operation.
Output<TFloat32>
maxZ()
The float value that the highest quantized output value represents.
Output<TFloat32>
minZ()
The float value that the lowest quantized output value represents.
Output<V>
z()

Inherited Methods

Constants

public static final String OP_NAME

The name of this op, as known by TensorFlow core engine

Constant Value: "QuantizedAdd"

Public Methods

public static QuantizedAdd<V> create (Scope scope, Operand<? extends TType> x, Operand<? extends TType> y, Operand<TFloat32> minX, Operand<TFloat32> maxX, Operand<TFloat32> minY, Operand<TFloat32> maxY, Class<V> Toutput)

Factory method to create a class wrapping a new QuantizedAdd operation.

Parameters
scope current scope
minX The float value that the lowest quantized `x` value represents.
maxX The float value that the highest quantized `x` value represents.
minY The float value that the lowest quantized `y` value represents.
maxY The float value that the highest quantized `y` value represents.
Returns
  • a new instance of QuantizedAdd

public Output<TFloat32> maxZ ()

The float value that the highest quantized output value represents.

NOTE: `math.QuantizedAdd` supports limited forms of broadcasting. More about broadcasting [here](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html)

public Output<TFloat32> minZ ()

The float value that the lowest quantized output value represents.

public Output<V> z ()