Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
tensoreflusso:: ops:: QuantizedConv2D:: Attr
#include <nn_ops.h>
Setter di attributi facoltativi per QuantizedConv2D .
Riepilogo
Attributi pubblici |
---|
dilations_ = Default_dilations() | gtl::ArraySlice< int > |
out_type_ = DT_QINT32 | DataType |
Funzioni pubbliche |
---|
Dilations (const gtl::ArraySlice< int > & x) | Tensore 1-D di lunghezza 4. |
OutType (DataType x) | Il valore predefinito è DT_QINT32. |
Attributi pubblici
dilatazioni_
gtl::ArraySlice< int > tensorflow::ops::QuantizedConv2D::Attrs::dilations_ = Default_dilations()
out_type_
DataType tensorflow::ops::QuantizedConv2D::Attrs::out_type_ = DT_QINT32
Funzioni pubbliche
Dilatazioni
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedConv2D::Attrs::Dilations(
const gtl::ArraySlice< int > & x
)
Tensore 1-D di lunghezza 4.
Il fattore di dilatazione per ciascuna dimensione di input
. Se impostato su k > 1, ci saranno k-1 celle saltate tra ciascun elemento filtro su quella dimensione. L'ordine delle dimensioni è determinato dal valore di data_format
, vedi sopra per i dettagli. Le dilatazioni delle dimensioni del lotto e della profondità devono essere pari a 1.
Il valore predefinito è [1, 1, 1, 1]
OutType
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedConv2D::Attrs::OutType(
DataType x
)
Il valore predefinito è DT_QINT32.
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-26 UTC.
[null,null,["Ultimo aggiornamento 2025-07-26 UTC."],[],[],null,["# tensorflow::ops::QuantizedConv2D::Attrs Struct Reference\n\ntensorflow::ops::QuantizedConv2D::Attrs\n=======================================\n\n`#include \u003cnn_ops.h\u003e`\n\nOptional attribute setters for [QuantizedConv2D](/versions/r2.3/api_docs/cc/class/tensorflow/ops/quantized-conv2-d#classtensorflow_1_1ops_1_1_quantized_conv2_d).\n\nSummary\n-------\n\n| ### Public attributes ||\n|-----------------------------------------------------------------------------------------------------------------------------------|--------------------------|\n| [dilations_](#structtensorflow_1_1ops_1_1_quantized_conv2_d_1_1_attrs_1a9c7e7b8aa805b62ebd16507b3a4285a8)` = Default_dilations()` | `gtl::ArraySlice\u003c int \u003e` |\n| [out_type_](#structtensorflow_1_1ops_1_1_quantized_conv2_d_1_1_attrs_1ab7813f90355fc599f9fd3775c423dbe0)` = DT_QINT32` | `DataType` |\n\n| ### Public functions ||\n|----------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Dilations](#structtensorflow_1_1ops_1_1_quantized_conv2_d_1_1_attrs_1a83387d8f43271c912007784178e0ac14)`(const gtl::ArraySlice\u003c int \u003e & x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/quantized-conv2-d/attrs#structtensorflow_1_1ops_1_1_quantized_conv2_d_1_1_attrs) 1-D tensor of length 4. |\n| [OutType](#structtensorflow_1_1ops_1_1_quantized_conv2_d_1_1_attrs_1ac147ef854700837dcf82521e59859cd2)`(DataType x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/quantized-conv2-d/attrs#structtensorflow_1_1ops_1_1_quantized_conv2_d_1_1_attrs) Defaults to DT_QINT32. |\n\nPublic attributes\n-----------------\n\n### dilations_\n\n```scdoc\ngtl::ArraySlice\u003c int \u003e tensorflow::ops::QuantizedConv2D::Attrs::dilations_ = Default_dilations()\n``` \n\n### out_type_\n\n```carbon\nDataType tensorflow::ops::QuantizedConv2D::Attrs::out_type_ = DT_QINT32\n``` \n\nPublic functions\n----------------\n\n### Dilations\n\n```gdscript\nTF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedConv2D::Attrs::Dilations(\n const gtl::ArraySlice\u003c int \u003e & x\n)\n``` \n1-D tensor of length 4.\n\nThe dilation factor for each dimension of `input`. If set to k \\\u003e 1, there will be k-1 skipped cells between each filter element on that dimension. The dimension order is determined by the value of `data_format`, see above for details. Dilations in the batch and depth dimensions must be 1.\n\nDefaults to \\[1, 1, 1, 1\\] \n\n### OutType\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedConv2D::Attrs::OutType(\n DataType x\n)\n``` \nDefaults to DT_QINT32."]]