tensorflow:: ops:: Dequantize:: Attrs

#include <array_ops.h>

Definidores de atributos opcionais para Dequantize .

Resumo

Atributos públicos

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

Funções públicas

Axis (int64 x)
TF_MUST_USE_RESULT Attrs
O valor padrão é -1.
Dtype (DataType x)
TF_MUST_USE_RESULT Attrs
Tipo do tensor de saída.
Mode (StringPiece x)
TF_MUST_USE_RESULT Attrs
O valor padrão é "MIN_COMBINED".
NarrowRange (bool x)
TF_MUST_USE_RESULT Attrs
O valor padrão é falso.

Atributos públicos

eixo_

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

dtype_

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

modo_

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

intervalo estreito

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

Funções públicas

Eixo

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

O valor padrão é -1.

Tipo D

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

Tipo do tensor de saída.

Atualmente, a função Dequantize suporta os formatos float e bfloat16. Se o 'dtype' for 'bfloat16', ela suporta apenas o modo 'MIN_COMBINED'.

O valor padrão é DT_FLOAT

Modo

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

O valor padrão é "MIN_COMBINED".

Faixa estreita

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

O valor padrão é falso.