Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
aliran tensor:: operasi:: Konv2D Terkuantisasi:: Attr
#include <nn_ops.h>
Penyetel atribut opsional untuk QuantizedConv2D .
Ringkasan
Atribut publik |
---|
dilations_ = Default_dilations() | gtl::ArraySlice< int > |
out_type_ = DT_QINT32 | DataType |
Fungsi publik |
---|
Dilations (const gtl::ArraySlice< int > & x) | Tensor 1-D dengan panjang 4. |
OutType (DataType x) | Defaultnya adalah DT_QINT32. |
Atribut publik
pelebaran_
gtl::ArraySlice< int > tensorflow::ops::QuantizedConv2D::Attrs::dilations_ = Default_dilations()
tipe_keluar_
DataType tensorflow::ops::QuantizedConv2D::Attrs::out_type_ = DT_QINT32
Fungsi publik
Pelebaran
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedConv2D::Attrs::Dilations(
const gtl::ArraySlice< int > & x
)
Tensor 1-D dengan panjang 4.
Faktor dilatasi untuk setiap dimensi input
. Jika diatur ke k > 1, akan ada k-1 sel yang dilewati di antara setiap elemen filter pada dimensi tersebut. Urutan dimensi ditentukan oleh nilai data_format
, lihat di atas untuk detailnya. Pelebaran dalam dimensi batch dan kedalaman harus 1.
Defaultnya adalah [1, 1, 1, 1]
Tipe Keluar
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedConv2D::Attrs::OutType(
DataType x
)
Defaultnya adalah DT_QINT32.
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2025-07-26 UTC.
[null,null,["Terakhir diperbarui pada 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.2/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.2/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.2/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."]]