Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
tensor akışı:: işlem:: QuantizedConv2D:: Öznitelikler
#include <nn_ops.h>
QuantizedConv2D için isteğe bağlı öznitelik ayarlayıcılar.
Özet
Genel özellikler |
---|
dilations_ = Default_dilations() | gtl::ArraySlice< int > |
out_type_ = DT_QINT32 | DataType |
Kamu işlevleri |
---|
Dilations (const gtl::ArraySlice< int > & x) | 1-D uzunluk tensörü 4. |
OutType (DataType x) | Varsayılan DT_QINT32'dir. |
Genel özellikler
genişlemeler_
gtl::ArraySlice< int > tensorflow::ops::QuantizedConv2D::Attrs::dilations_ = Default_dilations()
out_type_
DataType tensorflow::ops::QuantizedConv2D::Attrs::out_type_ = DT_QINT32
Kamu işlevleri
Dilatasyonlar
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedConv2D::Attrs::Dilations(
const gtl::ArraySlice< int > & x
)
1-D uzunluk tensörü 4.
input
her boyutu için genişleme faktörü. k > 1 olarak ayarlanırsa, o boyuttaki her filtre elemanı arasında k-1 atlanan hücre olacaktır. Boyut sırası data_format
değerine göre belirlenir; ayrıntılar için yukarıya bakın. Parti ve derinlik boyutlarındaki genişlemeler 1 olmalıdır.
Varsayılanlar [1, 1, 1, 1]'dir
Çıkış Türü
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedConv2D::Attrs::OutType(
DataType x
)
Varsayılan DT_QINT32'dir.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-26 UTC.
[null,null,["Son güncelleme tarihi: 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."]]