tensorflow::ops::QuantizeAndDequantizeV4Grad

#include <array_ops.h>

Returns the gradient of QuantizeAndDequantizeV4.

Summary

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

Arguments:

Returns:

Constructors and Destructors
QuantizeAndDequantizeV4Grad(const ::tensorflow::Scope & scope, ::tensorflow::Input gradients, ::tensorflow::Input input, ::tensorflow::Input input_min, ::tensorflow::Input input_max)
QuantizeAndDequantizeV4Grad(const ::tensorflow::Scope & scope, ::tensorflow::Input gradients, ::tensorflow::Input input, ::tensorflow::Input input_min, ::tensorflow::Input input_max, const QuantizeAndDequantizeV4Grad::Attrs & attrs)
Public attributes
input_backprop
input_max_backprop
input_min_backprop
operation
Public static functions
Axis(int64 x)
Structs
tensorflow::ops::QuantizeAndDequantizeV4Grad::Attrs

Optional attribute setters for QuantizeAndDequantizeV4Grad.

Public attributes

input_backprop

::tensorflow::Output input_backprop

input_max_backprop

::tensorflow::Output input_max_backprop

input_min_backprop

::tensorflow::Output input_min_backprop

operation

Operation operation

Public functions

QuantizeAndDequantizeV4Grad

 QuantizeAndDequantizeV4Grad(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input gradients,
  ::tensorflow::Input input,
  ::tensorflow::Input input_min,
  ::tensorflow::Input input_max
)

QuantizeAndDequantizeV4Grad

 QuantizeAndDequantizeV4Grad(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input gradients,
  ::tensorflow::Input input,
  ::tensorflow::Input input_min,
  ::tensorflow::Input input_max,
  const QuantizeAndDequantizeV4Grad::Attrs & attrs
)

Public static functions

Axis

Attrs Axis(
  int64 x
)

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/cc/class/tensorflow/ops/quantize-and-dequantize-v4-grad