tensorflow:: ops:: QuantizeAndDequantizeV4

#include <array_ops.h>

Returns the gradient of QuantizeAndDequantizeV4 .

Summary

This is almost identical to QuantizeAndDequantizeV2 , except that it returns a gradient of 1 for inputs that are within the quantization range, or 0 otherwise.

Args:

Returns:

Constructors and Destructors

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

Public attributes

operation
output

Public functions

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

Public static functions

Axis (int64 x)
NarrowRange (bool x)
NumBits (int64 x)
RangeGiven (bool x)
RoundMode (StringPiece x)
SignedInput (bool x)

Structs

tensorflow:: ops:: QuantizeAndDequantizeV4:: Attrs

Optional attribute setters for QuantizeAndDequantizeV4 .

Public attributes

operation

Operation operation

output

::tensorflow::Output output

Public functions

QuantizeAndDequantizeV4

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

QuantizeAndDequantizeV4

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

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

Public static functions

Axis

Attrs Axis(
  int64 x
)

NarrowRange

Attrs NarrowRange(
  bool x
)

NumBits

Attrs NumBits(
  int64 x
)

RangeGiven

Attrs RangeGiven(
  bool x
)

RoundMode

Attrs RoundMode(
  StringPiece x
)

SignedInput

Attrs SignedInput(
  bool x
)