จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เทนเซอร์โฟลว์:: ปฏิบัติการ:: QuantizedBatchNorm พร้อมการปรับให้เป็นมาตรฐานสากล
#include <nn_ops.h>
การทำให้เป็นมาตรฐานแบบแบทช์เชิงปริมาณ
สรุป
op นี้เลิกใช้งานแล้วและจะถูกลบออกในอนาคต ชอบ tf.nn.batch_normalization
ข้อโต้แย้ง:
- ขอบเขต: วัตถุ ขอบเขต
- t: เทนเซอร์ อินพุต 4D
- t_min: ค่าที่แสดงโดยอินพุตที่มีปริมาณน้อยที่สุด
- t_max: ค่าที่แสดงโดยอินพุตที่มีปริมาณสูงสุด
- m: 1D หมายถึง เทนเซอร์ ที่มีขนาดตรงกับมิติสุดท้ายของ t นี่คือเอาต์พุตแรกจาก tf.nn.moments หรือค่าเฉลี่ยเคลื่อนที่ที่บันทึกไว้
- m_min: ค่าที่แสดงโดยค่าเฉลี่ยเชิงปริมาณต่ำสุด
- m_max: ค่าที่แสดงโดยค่าเฉลี่ยที่มีปริมาณสูงสุด
- v: เทนเซอร์ ความแปรปรวน 1 มิติที่มีขนาดตรงกับมิติสุดท้ายของ t นี่คือเอาต์พุตที่สองจาก tf.nn.moments หรือค่าเฉลี่ยเคลื่อนที่ที่บันทึกไว้
- v_min: ค่าที่แสดงด้วยความแปรปรวนเชิงปริมาณต่ำสุด
- v_max: ค่าที่แสดงด้วยความแปรปรวนเชิงปริมาณสูงสุด
- เบต้า: เทนเซอร์ เบต้า 1D ที่มีขนาดตรงกับมิติสุดท้ายของ t ออฟเซ็ตที่จะเพิ่มให้กับเทนเซอร์ที่ทำให้เป็นมาตรฐาน
- beta_min: ค่าที่แสดงโดยออฟเซ็ตเชิงปริมาณต่ำสุด
- beta_max: ค่าที่แสดงโดยออฟเซ็ตที่มีปริมาณสูงสุด
- แกมมา: แกมมาเทนเซอร์ 1 มิติที่มีขนาดตรงกับมิติสุดท้ายของ t หาก "scale_after_normalization" เป็นจริง เทนเซอร์นี้จะถูกคูณด้วยเทนเซอร์ที่ทำให้เป็นมาตรฐาน
- gamma_min: ค่าที่แสดงด้วยแกมมาที่มีปริมาณน้อยที่สุด
- gamma_max: ค่าที่แสดงด้วยแกมมาที่มีปริมาณสูงสุด
- variance_epsilon: ตัวเลขทศนิยมขนาดเล็กเพื่อหลีกเลี่ยงการหารด้วย 0
- scale_after_normalization: บูลที่ระบุว่าเทนเซอร์ผลลัพธ์จำเป็นต้องคูณด้วยแกมมาหรือไม่
ผลตอบแทน:
ตัวสร้างและผู้ทำลาย |
---|
QuantizedBatchNormWithGlobalNormalization (const :: tensorflow::Scope & scope, :: tensorflow::Input t, :: tensorflow::Input t_min, :: tensorflow::Input t_max, :: tensorflow::Input m, :: tensorflow::Input m_min, :: tensorflow::Input m_max, :: tensorflow::Input v, :: tensorflow::Input v_min, :: tensorflow::Input v_max, :: tensorflow::Input beta, :: tensorflow::Input beta_min, :: tensorflow::Input beta_max, :: tensorflow::Input gamma, :: tensorflow::Input gamma_min, :: tensorflow::Input gamma_max, DataType out_type, float variance_epsilon, bool scale_after_normalization) |
คุณลักษณะสาธารณะ
งานสาธารณะ
QuantizedBatchNorm พร้อมการปรับให้เป็นมาตรฐานสากล
QuantizedBatchNormWithGlobalNormalization(
const ::tensorflow::Scope & scope,
::tensorflow::Input t,
::tensorflow::Input t_min,
::tensorflow::Input t_max,
::tensorflow::Input m,
::tensorflow::Input m_min,
::tensorflow::Input m_max,
::tensorflow::Input v,
::tensorflow::Input v_min,
::tensorflow::Input v_max,
::tensorflow::Input beta,
::tensorflow::Input beta_min,
::tensorflow::Input beta_max,
::tensorflow::Input gamma,
::tensorflow::Input gamma_min,
::tensorflow::Input gamma_max,
DataType out_type,
float variance_epsilon,
bool scale_after_normalization
)
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-27 UTC
[null,null,["อัปเดตล่าสุด 2025-07-27 UTC"],[],[],null,["# tensorflow::ops::QuantizedBatchNormWithGlobalNormalization Class Reference\n\ntensorflow::ops::QuantizedBatchNormWithGlobalNormalization\n==========================================================\n\n`#include \u003cnn_ops.h\u003e`\n\nQuantized Batch normalization.\n\nSummary\n-------\n\nThis op is deprecated and will be removed in the future. Prefer `tf.nn.batch_normalization`.\n\nArguments:\n\n- scope: A [Scope](/versions/r2.3/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope) object\n- t: A 4D input [Tensor](/versions/r2.3/api_docs/cc/class/tensorflow/tensor#classtensorflow_1_1_tensor).\n- t_min: The value represented by the lowest quantized input.\n- t_max: The value represented by the highest quantized input.\n- m: A 1D mean [Tensor](/versions/r2.3/api_docs/cc/class/tensorflow/tensor#classtensorflow_1_1_tensor) with size matching the last dimension of t. This is the first output from tf.nn.moments, or a saved moving average thereof.\n- m_min: The value represented by the lowest quantized mean.\n- m_max: The value represented by the highest quantized mean.\n- v: A 1D variance [Tensor](/versions/r2.3/api_docs/cc/class/tensorflow/tensor#classtensorflow_1_1_tensor) with size matching the last dimension of t. This is the second output from tf.nn.moments, or a saved moving average thereof.\n- v_min: The value represented by the lowest quantized variance.\n- v_max: The value represented by the highest quantized variance.\n- beta: A 1D beta [Tensor](/versions/r2.3/api_docs/cc/class/tensorflow/tensor#classtensorflow_1_1_tensor) with size matching the last dimension of t. An offset to be added to the normalized tensor.\n- beta_min: The value represented by the lowest quantized offset.\n- beta_max: The value represented by the highest quantized offset.\n- gamma: A 1D gamma [Tensor](/versions/r2.3/api_docs/cc/class/tensorflow/tensor#classtensorflow_1_1_tensor) with size matching the last dimension of t. If \"scale_after_normalization\" is true, this tensor will be multiplied with the normalized tensor.\n- gamma_min: The value represented by the lowest quantized gamma.\n- gamma_max: The value represented by the highest quantized gamma.\n- variance_epsilon: A small float number to avoid dividing by 0.\n- scale_after_normalization: A bool indicating whether the resulted tensor needs to be multiplied with gamma.\n\n\u003cbr /\u003e\n\nReturns:\n\n- [Output](/versions/r2.3/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) result\n- [Output](/versions/r2.3/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) result_min\n- [Output](/versions/r2.3/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) result_max\n\n\u003cbr /\u003e\n\n| ### Constructors and Destructors ||\n|---|---|\n| [QuantizedBatchNormWithGlobalNormalization](#classtensorflow_1_1ops_1_1_quantized_batch_norm_with_global_normalization_1a06c79c043a3a55b798944a5ae0a0f148)`(const ::`[tensorflow::Scope](/versions/r2.3/api_docs/cc/class/tensorflow/scope#classtensorflow_1_1_scope)` & scope, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` t, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` t_min, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` t_max, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` m, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` m_min, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` m_max, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` v, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` v_min, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` v_max, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` beta, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` beta_min, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` beta_max, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` gamma, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` gamma_min, ::`[tensorflow::Input](/versions/r2.3/api_docs/cc/class/tensorflow/input#classtensorflow_1_1_input)` gamma_max, DataType out_type, float variance_epsilon, bool scale_after_normalization)` ||\n\n| ### Public attributes ||\n|-----------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|\n| [operation](#classtensorflow_1_1ops_1_1_quantized_batch_norm_with_global_normalization_1a84804acca133131cda9e9235b954f9af) | [Operation](/versions/r2.3/api_docs/cc/class/tensorflow/operation#classtensorflow_1_1_operation) |\n| [result](#classtensorflow_1_1ops_1_1_quantized_batch_norm_with_global_normalization_1ab4d42bdea55b03a105681930993cf3d4) | `::`[tensorflow::Output](/versions/r2.3/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [result_max](#classtensorflow_1_1ops_1_1_quantized_batch_norm_with_global_normalization_1aacfdd86eadc8f7972ff620b36692ef19) | `::`[tensorflow::Output](/versions/r2.3/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n| [result_min](#classtensorflow_1_1ops_1_1_quantized_batch_norm_with_global_normalization_1a608925a87be94416e98c14506e98fb64) | `::`[tensorflow::Output](/versions/r2.3/api_docs/cc/class/tensorflow/output#classtensorflow_1_1_output) |\n\nPublic attributes\n-----------------\n\n### operation\n\n```text\nOperation operation\n``` \n\n### result\n\n```text\n::tensorflow::Output result\n``` \n\n### result_max\n\n```scdoc\n::tensorflow::Output result_max\n``` \n\n### result_min\n\n```scdoc\n::tensorflow::Output result_min\n``` \n\nPublic functions\n----------------\n\n### QuantizedBatchNormWithGlobalNormalization\n\n```gdscript\n QuantizedBatchNormWithGlobalNormalization(\n const ::tensorflow::Scope & scope,\n ::tensorflow::Input t,\n ::tensorflow::Input t_min,\n ::tensorflow::Input t_max,\n ::tensorflow::Input m,\n ::tensorflow::Input m_min,\n ::tensorflow::Input m_max,\n ::tensorflow::Input v,\n ::tensorflow::Input v_min,\n ::tensorflow::Input v_max,\n ::tensorflow::Input beta,\n ::tensorflow::Input beta_min,\n ::tensorflow::Input beta_max,\n ::tensorflow::Input gamma,\n ::tensorflow::Input gamma_min,\n ::tensorflow::Input gamma_max,\n DataType out_type,\n float variance_epsilon,\n bool scale_after_normalization\n)\n```"]]