tensoreflusso:: ops:: Dequantizzare:: Attr

#include <array_ops.h>

Setter di attributi facoltativi per Dequantize .

Riepilogo

Attributi pubblici

axis_ = -1
int64
dtype_ = DT_FLOAT
DataType
mode_ = "MIN_COMBINED"
StringPiece
narrow_range_ = false
bool

Funzioni pubbliche

Axis (int64 x)
TF_MUST_USE_RESULT Attrs
Il valore predefinito è -1.
Dtype (DataType x)
TF_MUST_USE_RESULT Attrs
Tipo del tensore di uscita.
Mode (StringPiece x)
TF_MUST_USE_RESULT Attrs
Il valore predefinito è "MIN_COMBINED".
NarrowRange (bool x)
TF_MUST_USE_RESULT Attrs
Il valore predefinito è falso.

Attributi pubblici

asse_

int64 tensorflow::ops::Dequantize::Attrs::axis_ = -1

dtipo_

DataType tensorflow::ops::Dequantize::Attrs::dtype_ = DT_FLOAT

modalità_

StringPiece tensorflow::ops::Dequantize::Attrs::mode_ = "MIN_COMBINED"

gamma ristretta_

bool tensorflow::ops::Dequantize::Attrs::narrow_range_ = false

Funzioni pubbliche

Asse

TF_MUST_USE_RESULT Attrs tensorflow::ops::Dequantize::Attrs::Axis(
  int64 x
)

Il valore predefinito è -1.

Tipo D

TF_MUST_USE_RESULT Attrs tensorflow::ops::Dequantize::Attrs::Dtype(
  DataType x
)

Tipo del tensore di uscita.

Attualmente Dequantize supporta float e bfloat16. Se 'dtype' è 'bfloat16', supporta solo la modalità 'MIN_COMBINED'.

Il valore predefinito è DT_FLOAT

Modalità

TF_MUST_USE_RESULT Attrs tensorflow::ops::Dequantize::Attrs::Mode(
  StringPiece x
)

Il valore predefinito è "MIN_COMBINED".

Gamma ristretta

TF_MUST_USE_RESULT Attrs tensorflow::ops::Dequantize::Attrs::NarrowRange(
  bool x
)

Il valore predefinito è falso.