コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
テンソルフロー::作戦::量子化Conv2D::属性
#include <nn_ops.h>
QuantizedConv2Dのオプションの属性セッター。
まとめ
公共機能 |
---|
Dilations (const gtl::ArraySlice< int > & x) | 長さ 4 の 1 次元テンソル。 |
OutType (DataType x) | デフォルトは DT_QINT32 です。 |
パブリック属性
拡張_
gtl::ArraySlice< int > tensorflow::ops::QuantizedConv2D::Attrs::dilations_ = Default_dilations()
out_type_
DataType tensorflow::ops::QuantizedConv2D::Attrs::out_type_ = DT_QINT32
公共機能
拡張
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedConv2D::Attrs::Dilations(
const gtl::ArraySlice< int > & x
)
長さ 4 の 1 次元テンソル。
input
の各次元の膨張係数。 k > 1 に設定すると、その次元の各フィルター要素間に k-1 個のスキップされたセルが存在します。ディメンションの順序はdata_format
の値によって決まります。詳細については上記を参照してください。バッチ内の膨張と深さの寸法は 1 である必要があります。
デフォルトは [1, 1, 1, 1]
出力タイプ
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizedConv2D::Attrs::OutType(
DataType x
)
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 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."]]