QuantizedReluX

public final class QuantizedReluX

Computes Quantized Rectified Linear X: `min(max(features, 0), max_value)`

Constants

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

Public Methods

Output<U>
activations()
Has the same output shape as "features".
static <U extends TType> QuantizedReluX<U>
create(Scope scope, Operand<? extends TType> features, Operand<TFloat32> maxValue, Operand<TFloat32> minFeatures, Operand<TFloat32> maxFeatures, Class<U> outType)
Factory method to create a class wrapping a new QuantizedReluX operation.
Output<TFloat32>
maxActivations()
The float value that the highest quantized value represents.
Output<TFloat32>
minActivations()
The float value that the lowest quantized 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: "QuantizedReluX"

Public Methods

public Output<U> activations ()

Has the same output shape as "features".

public static QuantizedReluX<U> create (Scope scope, Operand<? extends TType> features, Operand<TFloat32> maxValue, Operand<TFloat32> minFeatures, Operand<TFloat32> maxFeatures, Class<U> outType)

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

Parameters
scope current scope
minFeatures The float value that the lowest quantized value represents.
maxFeatures The float value that the highest quantized value represents.
Returns
  • a new instance of QuantizedReluX

public Output<TFloat32> maxActivations ()

The float value that the highest quantized value represents.

public Output<TFloat32> minActivations ()

The float value that the lowest quantized value represents.