ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

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  

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

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