컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
텐서플로우:: 작전:: FakeQuantWithMinMaxVarsPerChannelGradient:: 속성
#include <array_ops.h>
FakeQuantWithMinMaxVarsPerChannelGradient 에 대한 선택적 속성 설정자입니다.
요약
공공 기능 |
---|
NarrowRange (bool x) | 2^num_bits - 1개의 고유 값으로 양자화할지 여부입니다. |
NumBits (int64 x) | 양자화의 비트폭. 2부터 16까지. |
공개 속성
좁은_범위_
bool tensorflow::ops::FakeQuantWithMinMaxVarsPerChannelGradient::Attrs::narrow_range_ = false
num_bits_
int64 tensorflow::ops::FakeQuantWithMinMaxVarsPerChannelGradient::Attrs::num_bits_ = 8
공공 기능
좁은 범위
TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxVarsPerChannelGradient::Attrs::NarrowRange(
bool x
)
2^num_bits - 1개의 고유 값으로 양자화할지 여부입니다.
기본값은 거짓
NumBits
TF_MUST_USE_RESULT Attrs tensorflow::ops::FakeQuantWithMinMaxVarsPerChannelGradient::Attrs::NumBits(
int64 x
)
양자화의 비트폭. 2부터 16까지.
기본값은 8입니다.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 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"]]