QuantizeAndDequantizeV4Grad

public final class QuantizeAndDequantizeV4Grad

Returns the gradient of `QuantizeAndDequantizeV4`.

Returns a gradient of 1 for inputs that are within the quantization range, or 0 otherwise.

Nested Classes

Public Methods

static QuantizeAndDequantizeV4Grad.Options
axis(Long axis)
static <T extends Number> QuantizeAndDequantizeV4Grad<T>
create(Scope scope, Operand<T> gradients, Operand<T> input, Operand<T> inputMin, Operand<T> inputMax, Options... options)
Factory method to create a class wrapping a new QuantizeAndDequantizeV4Grad operation.
Output<T>
Output<T>
Output<T>

Inherited Methods

org.tensorflow.op.PrimitiveOp
final boolean
equals(Object obj)
final int
Operation
op()
Returns the underlying 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()

Public Methods

public static QuantizeAndDequantizeV4Grad.Options axis (Long axis)

public static QuantizeAndDequantizeV4Grad<T> create (Scope scope, Operand<T> gradients, Operand<T> input, Operand<T> inputMin, Operand<T> inputMax, Options... options)

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

Parameters
scope current scope
options carries optional attributes values
Returns
  • a new instance of QuantizeAndDequantizeV4Grad

public Output<T> inputBackprop ()

public Output<T> inputMaxBackprop ()

public Output<T> inputMinBackprop ()