Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
aliran tensor:: operasi:: QuantizeAndDequantizeV3:: Attr
#include <array_ops.h>
Penyetel atribut opsional untuk QuantizeAndDequantizeV3 .
Ringkasan
Fungsi publik |
---|
Axis (int64 x) | Defaultnya adalah -1. |
NarrowRange (bool x) | Defaultnya salah. |
RangeGiven (bool x) | Defaultnya adalah benar. |
SignedInput (bool x) | Defaultnya adalah benar. |
Atribut publik
sumbu_
int64 tensorflow::ops::QuantizeAndDequantizeV3::Attrs::axis_ = -1
rentang_sempit_
bool tensorflow::ops::QuantizeAndDequantizeV3::Attrs::narrow_range_ = false
rentang_diberikan_
bool tensorflow::ops::QuantizeAndDequantizeV3::Attrs::range_given_ = true
bool tensorflow::ops::QuantizeAndDequantizeV3::Attrs::signed_input_ = true
Fungsi publik
Sumbu
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeAndDequantizeV3::Attrs::Axis(
int64 x
)
Rentang Sempit
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeAndDequantizeV3::Attrs::NarrowRange(
bool x
)
Rentang Diberikan
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeAndDequantizeV3::Attrs::RangeGiven(
bool x
)
TF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeAndDequantizeV3::Attrs::SignedInput(
bool x
)
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-27 UTC.
[null,null,["Terakhir diperbarui pada 2025-07-27 UTC."],[],[],null,["# tensorflow::ops::QuantizeAndDequantizeV3::Attrs Struct Reference\n\ntensorflow::ops::QuantizeAndDequantizeV3::Attrs\n===============================================\n\n`#include \u003carray_ops.h\u003e`\n\nOptional attribute setters for [QuantizeAndDequantizeV3](/versions/r2.3/api_docs/cc/class/tensorflow/ops/quantize-and-dequantize-v3#classtensorflow_1_1ops_1_1_quantize_and_dequantize_v3).\n\nSummary\n-------\n\n| ### Public attributes ||\n|---------------------------------------------------------------------------------------------------------------------------------|---------|\n| [axis_](#structtensorflow_1_1ops_1_1_quantize_and_dequantize_v3_1_1_attrs_1a29b1985e5b5d174f94fae92c18f5e7ee)` = -1` | `int64` |\n| [narrow_range_](#structtensorflow_1_1ops_1_1_quantize_and_dequantize_v3_1_1_attrs_1a1f6a8c31c6a18ce2f0b1ccddab714d68)` = false` | `bool` |\n| [range_given_](#structtensorflow_1_1ops_1_1_quantize_and_dequantize_v3_1_1_attrs_1a65ec5c6031f64ee60003df0c32818878)` = true` | `bool` |\n| [signed_input_](#structtensorflow_1_1ops_1_1_quantize_and_dequantize_v3_1_1_attrs_1afa9ac30e490c09a96faf215645f0e008)` = true` | `bool` |\n\n| ### Public functions ||\n|-------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [Axis](#structtensorflow_1_1ops_1_1_quantize_and_dequantize_v3_1_1_attrs_1a5a7176c17a58da234fb603229a2eb5a9)`(int64 x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/quantize-and-dequantize-v3/attrs#structtensorflow_1_1ops_1_1_quantize_and_dequantize_v3_1_1_attrs) Defaults to -1. |\n| [NarrowRange](#structtensorflow_1_1ops_1_1_quantize_and_dequantize_v3_1_1_attrs_1a75850c802d097420673c0cec01cf1c3f)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/quantize-and-dequantize-v3/attrs#structtensorflow_1_1ops_1_1_quantize_and_dequantize_v3_1_1_attrs) Defaults to false. |\n| [RangeGiven](#structtensorflow_1_1ops_1_1_quantize_and_dequantize_v3_1_1_attrs_1a9b65091fe5e629a43bbfea0d6716cf50)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/quantize-and-dequantize-v3/attrs#structtensorflow_1_1ops_1_1_quantize_and_dequantize_v3_1_1_attrs) Defaults to true. |\n| [SignedInput](#structtensorflow_1_1ops_1_1_quantize_and_dequantize_v3_1_1_attrs_1a9feb1c381a12febda27ee0e5f00705d5)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.3/api_docs/cc/struct/tensorflow/ops/quantize-and-dequantize-v3/attrs#structtensorflow_1_1ops_1_1_quantize_and_dequantize_v3_1_1_attrs) Defaults to true. |\n\nPublic attributes\n-----------------\n\n### axis_\n\n```scdoc\nint64 tensorflow::ops::QuantizeAndDequantizeV3::Attrs::axis_ = -1\n``` \n\n### narrow_range_\n\n```scdoc\nbool tensorflow::ops::QuantizeAndDequantizeV3::Attrs::narrow_range_ = false\n``` \n\n### range_given_\n\n```scdoc\nbool tensorflow::ops::QuantizeAndDequantizeV3::Attrs::range_given_ = true\n``` \n\n### signed_input_\n\n```scdoc\nbool tensorflow::ops::QuantizeAndDequantizeV3::Attrs::signed_input_ = true\n``` \n\nPublic functions\n----------------\n\n### Axis\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeAndDequantizeV3::Attrs::Axis(\n int64 x\n)\n``` \nDefaults to -1. \n\n### NarrowRange\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeAndDequantizeV3::Attrs::NarrowRange(\n bool x\n)\n``` \nDefaults to false. \n\n### RangeGiven\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeAndDequantizeV3::Attrs::RangeGiven(\n bool x\n)\n``` \nDefaults to true. \n\n### SignedInput\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::QuantizeAndDequantizeV3::Attrs::SignedInput(\n bool x\n)\n``` \nDefaults to true."]]