QuantizedConcat

public final class QuantizedConcat

Concatenates quantized tensors along one dimension.

Constants

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

Public Methods

static <T extends TType> QuantizedConcat<T>
create(Scope scope, Operand<TInt32> concatDim, Iterable<Operand<T>> values, Iterable<Operand<TFloat32>> inputMins, Iterable<Operand<TFloat32>> inputMaxes)
Factory method to create a class wrapping a new QuantizedConcat operation.
Output<T>
output()
A `Tensor` with the concatenation of values stacked along the `concat_dim` dimension.
Output<TFloat32>
outputMax()
The float value that the maximum quantized output value represents.
Output<TFloat32>
outputMin()
The float value that the minimum quantized output value represents.

Inherited Methods

org.tensorflow.op.RawOp
final boolean
equals(Object obj)
final int
Operation
op()
Return this unit of computation as a single Operation.
final String
boolean
equals(Object arg0)
final Class<?>
getClass()
int
hashCode()
final void
notify()
final void
notifyAll()
String
toString()
final void
wait(long arg0, int arg1)
final void
wait(long arg0)
final void
wait()
org.tensorflow.op.Op
abstract ExecutionEnvironment
env()
Return the execution environment this op was created in.
abstract Operation
op()
Return this unit of computation as a single Operation.

Constants

public static final String OP_NAME

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

Constant Value: "QuantizedConcat"

Public Methods

public static QuantizedConcat<T> create (Scope scope, Operand<TInt32> concatDim, Iterable<Operand<T>> values, Iterable<Operand<TFloat32>> inputMins, Iterable<Operand<TFloat32>> inputMaxes)

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

Parameters
scope current scope
concatDim 0-D. The dimension along which to concatenate. Must be in the range [0, rank(values)).
values The `N` Tensors to concatenate. Their ranks and types must match, and their sizes must match in all dimensions except `concat_dim`.
inputMins The minimum scalar values for each of the input tensors.
inputMaxes The maximum scalar values for each of the input tensors.
Returns
  • a new instance of QuantizedConcat

public Output<T> output ()

A `Tensor` with the concatenation of values stacked along the `concat_dim` dimension. This tensor's shape matches that of `values` except in `concat_dim` where it has the sum of the sizes.

public Output<TFloat32> outputMax ()

The float value that the maximum quantized output value represents.

public Output<TFloat32> outputMin ()

The float value that the minimum quantized output value represents.