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

class QuantizeAndDequantizeV4Grad.Options Optional attributes for QuantizeAndDequantizeV4Grad  

Constants

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

Public Methods

static QuantizeAndDequantizeV4Grad.Options
axis(Long axis)
static <T extends TNumber> 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

Constants

public static final String OP_NAME

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

Constant Value: "QuantizeAndDequantizeV4Grad"

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