tensorflow:: ops:: Kwantuj i dekwantyzuj V3

#include <array_ops.h>

Kwantuje, a następnie dekwantuje tensor.

Streszczenie

Jest to niemal identyczne z QuantizeAndDequantizeV2 , z tą różnicą, że num_bits jest tensorem, więc jego wartość może się zmieniać w trakcie treningu.

Argumenty:

Zwroty:

Konstruktory i destruktory

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

Atrybuty publiczne

operation
output

Funkcje publiczne

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

Publiczne funkcje statyczne

NarrowRange (bool x)
RangeGiven (bool x)
SignedInput (bool x)

Struktury

tensorflow:: ops:: QuantizeAndDequantizeV3:: Attrs

Opcjonalne settery atrybutów dla QuantizeAndDequantizeV3 .

Atrybuty publiczne

działanie

Operation operation

wyjście

::tensorflow::Output output

Funkcje publiczne

Kwantuj i dekwantyzuj V3

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

Kwantuj i dekwantyzuj V3

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

węzeł

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

Publiczne funkcje statyczne

Wąski zakres

Attrs NarrowRange(
  bool x
)

Zakres podany

Attrs RangeGiven(
  bool x
)

Podpisane dane wejściowe

Attrs SignedInput(
  bool x
)