Organízate con las colecciones
Guarda y clasifica el contenido según tus preferencias.
flujo tensor:: operaciones:: FakeQuantWithMinMaxVarsPerChannelGradient:: atributos
#include <array_ops.h>
Configuradores de atributos opcionales para FakeQuantWithMinMaxVarsPerChannelGradient .
Resumen
Funciones públicas |
---|
NarrowRange (bool x) | Ya sea para cuantificar en 2^num_bits - 1 valores distintos. |
NumBits (int64 x) | El ancho de bits de la cuantificación; entre 2 y 16 años, inclusive. |
Atributos públicos
rango_estrecho_
bool tensorflow::ops::FakeQuantWithMinMaxVarsPerChannelGradient::Attrs::narrow_range_ = false
núm_bits_
int64 tensorflow::ops::FakeQuantWithMinMaxVarsPerChannelGradient::Attrs::num_bits_ = 8
Funciones públicas
Rango estrecho
TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxVarsPerChannelGradient::Attrs::NarrowRange(
bool x
)
Ya sea para cuantificar en 2^num_bits - 1 valores distintos.
El valor predeterminado es falso
Números de bits
TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxVarsPerChannelGradient::Attrs::NumBits(
int64 x
)
El ancho de bits de la cuantificación; entre 2 y 16 años, inclusive.
Por defecto es 8
A menos que se indique lo contrario, el contenido de esta página está sujeto a la licencia Reconocimiento 4.0 de Creative Commons y las muestras de código están sujetas a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio web de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2025-07-25 (UTC).
[null,null,["Última actualización: 2025-07-25 (UTC)."],[],[],null,["# tensorflow::ops::FakeQuantWithMinMaxVarsPerChannelGradient::Attrs Struct Reference\n\ntensorflow::ops::FakeQuantWithMinMaxVarsPerChannelGradient::Attrs\n=================================================================\n\n`#include \u003carray_ops.h\u003e`\n\nOptional attribute setters for [FakeQuantWithMinMaxVarsPerChannelGradient](/versions/r2.1/api_docs/cc/class/tensorflow/ops/fake-quant-with-min-max-vars-per-channel-gradient#classtensorflow_1_1ops_1_1_fake_quant_with_min_max_vars_per_channel_gradient).\n\nSummary\n-------\n\n| ### Public attributes ||\n|--------------------------------------------------------------------------------------------------------------------------------------------------------|---------|\n| [narrow_range_](#structtensorflow_1_1ops_1_1_fake_quant_with_min_max_vars_per_channel_gradient_1_1_attrs_1a19bcc6e3056cc06a975a5a7236e38607)` = false` | `bool` |\n| [num_bits_](#structtensorflow_1_1ops_1_1_fake_quant_with_min_max_vars_per_channel_gradient_1_1_attrs_1a1d8955c276cd7afe9a8cc3b3cec65b80)` = 8` | `int64` |\n\n| ### Public functions ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [NarrowRange](#structtensorflow_1_1ops_1_1_fake_quant_with_min_max_vars_per_channel_gradient_1_1_attrs_1a7c6086869fd2c913591598734e50c734)`(bool x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/fake-quant-with-min-max-vars-per-channel-gradient/attrs#structtensorflow_1_1ops_1_1_fake_quant_with_min_max_vars_per_channel_gradient_1_1_attrs) Whether to quantize into 2\\^num_bits - 1 distinct values. |\n| [NumBits](#structtensorflow_1_1ops_1_1_fake_quant_with_min_max_vars_per_channel_gradient_1_1_attrs_1aa00e6a2d0d011a7cec018693b25d8311)`(int64 x)` | `TF_MUST_USE_RESULT `[Attrs](/versions/r2.1/api_docs/cc/struct/tensorflow/ops/fake-quant-with-min-max-vars-per-channel-gradient/attrs#structtensorflow_1_1ops_1_1_fake_quant_with_min_max_vars_per_channel_gradient_1_1_attrs) The bitwidth of the quantization; between 2 and 16, inclusive. |\n\nPublic attributes\n-----------------\n\n### narrow_range_\n\n```scdoc\nbool tensorflow::ops::FakeQuantWithMinMaxVarsPerChannelGradient::Attrs::narrow_range_ = false\n``` \n\n### num_bits_\n\n```scdoc\nint64 tensorflow::ops::FakeQuantWithMinMaxVarsPerChannelGradient::Attrs::num_bits_ = 8\n``` \n\nPublic functions\n----------------\n\n### NarrowRange\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxVarsPerChannelGradient::Attrs::NarrowRange(\n bool x\n)\n``` \nWhether to quantize into 2\\^num_bits - 1 distinct values.\n\nDefaults to false \n\n### NumBits\n\n```scdoc\nTF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxVarsPerChannelGradient::Attrs::NumBits(\n int64 x\n)\n``` \nThe bitwidth of the quantization; between 2 and 16, inclusive.\n\nDefaults to 8"]]