Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
tensoreflusso:: ops:: Dequantizzare:: Attr
#include <array_ops.h>
Setter di attributi facoltativi per Dequantize .
Riepilogo
Funzioni pubbliche |
---|
Axis (int64 x) | Il valore predefinito è -1. |
Dtype (DataType x) | Tipo del tensore di uscita. |
Mode (StringPiece x) | Il valore predefinito è "MIN_COMBINED". |
NarrowRange (bool x) | 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"
intervallo_ristretto_
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".
Raggio ristretto
TF_MUST_USE_RESULT Attrs tensorflow::ops::Dequantize::Attrs::NarrowRange(
bool x
)
Il valore predefinito è falso.
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-07-27 UTC.
[null,null,["Ultimo aggiornamento 2025-07-27 UTC."],[],[],null,["# tensorflow::ops::Dequantize::Attrs Struct Reference\n\ntensorflow::ops::Dequantize::Attrs\n==================================\n\n`#include \u003carray_ops.h\u003e`\n\nOptional attribute setters for [Dequantize](/versions/r2.3/api_docs/cc/class/tensorflow/ops/dequantize#classtensorflow_1_1ops_1_1_dequantize).\n\nSummary\n-------\n\n| ### Public attributes ||\n|------------------------------------------------------------------------------------------------------------------|---------------|\n| [axis_](#structtensorflow_1_1ops_1_1_dequantize_1_1_attrs_1af432ad7e9303ee6c76c19a9afda0ca89)` = -1` | `int64` |\n| [dtype_](#structtensorflow_1_1ops_1_1_dequantize_1_1_attrs_1a68b0e8b37645f29a888b531684cff039)` = DT_FLOAT` | `DataType` |\n| [mode_](#structtensorflow_1_1ops_1_1_dequantize_1_1_attrs_1a2e72e17bf315adb13470a951b4e0ae05)` = \"MIN_COMBINED\"` | `StringPiece` |\n| [narrow_range_](#structtensorflow_1_1ops_1_1_dequantize_1_1_attrs_1a945ba2aa0ec8debc8651c5452262189b)` = false` | `bool` |\n\n| ### Public functions ||\n|---------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Axis](#structtensorflow_1_1ops_1_1_dequantize_1_1_attrs_1a419b6b66d5587f5528fc9515d9fff5aa)`(int64 x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/dequantize/attrs#structtensorflow_1_1ops_1_1_dequantize_1_1_attrs) Defaults to -1. |\n| [Dtype](#structtensorflow_1_1ops_1_1_dequantize_1_1_attrs_1ab247f7c724a2428f98ebb271428dc842)`(DataType x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/dequantize/attrs#structtensorflow_1_1ops_1_1_dequantize_1_1_attrs) Type of the output tensor. |\n| [Mode](#structtensorflow_1_1ops_1_1_dequantize_1_1_attrs_1a5d92cbf9b00f4a13f79095f6921bff33)`(StringPiece x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/dequantize/attrs#structtensorflow_1_1ops_1_1_dequantize_1_1_attrs) Defaults to \"MIN_COMBINED\". |\n| [NarrowRange](#structtensorflow_1_1ops_1_1_dequantize_1_1_attrs_1acb7be40f55b2d45f7169ba175baf77c4)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/dequantize/attrs#structtensorflow_1_1ops_1_1_dequantize_1_1_attrs) Defaults to false. |\n\nPublic attributes\n-----------------\n\n### axis_\n\n```scdoc\nint64 tensorflow::ops::Dequantize::Attrs::axis_ = -1\n``` \n\n### dtype_\n\n```carbon\nDataType tensorflow::ops::Dequantize::Attrs::dtype_ = DT_FLOAT\n``` \n\n### mode_\n\n```scdoc\nStringPiece tensorflow::ops::Dequantize::Attrs::mode_ = \"MIN_COMBINED\"\n``` \n\n### narrow_range_\n\n```scdoc\nbool tensorflow::ops::Dequantize::Attrs::narrow_range_ = false\n``` \n\nPublic functions\n----------------\n\n### Axis\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::Dequantize::Attrs::Axis(\n int64 x\n)\n``` \nDefaults to -1. \n\n### Dtype\n\n```carbon\nTF_MUST_USE_RESULT Attrs tensorflow::ops::Dequantize::Attrs::Dtype(\n DataType x\n)\n``` \nType of the output tensor.\n\nCurrently [Dequantize](/versions/r2.3/api_docs/cc/class/tensorflow/ops/dequantize#classtensorflow_1_1ops_1_1_dequantize) supports float and bfloat16. If 'dtype' is 'bfloat16', it only supports 'MIN_COMBINED' mode.\n\nDefaults to DT_FLOAT \n\n### Mode\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::Dequantize::Attrs::Mode(\n StringPiece x\n)\n``` \nDefaults to \"MIN_COMBINED\". \n\n### NarrowRange\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::Dequantize::Attrs::NarrowRange(\n bool x\n)\n``` \nDefaults to false."]]