เทนเซอร์โฟลว์ :: ops :: FusedBatchNormGradV2
#include <nn_ops.h>
การไล่ระดับสีสำหรับการทำให้เป็นมาตรฐานแบทช์
สรุป
โปรดทราบว่าขนาดของ 4D Tensors ถูกกำหนดโดย "NHWC" หรือ "NCHW" ขนาดของ 1D Tensors ตรงกับมิติ C ของ 4D Tensors
อาร์กิวเมนต์:
- ขอบเขต: วัตถุ ขอบเขต
- y_backprop: 4D Tensor สำหรับการไล่ระดับสีเทียบกับ y
- x: 4D Tensor สำหรับข้อมูลอินพุต
- สเกล: A 1D Tensor สำหรับสเกลแฟคเตอร์เพื่อปรับขนาด x ที่เป็นมาตรฐาน
- reserve_space_1: เมื่อ is_training เป็น True Tensor 1D สำหรับค่าเฉลี่ยแบตช์ที่คำนวณจะถูกนำมาใช้ซ้ำในการคำนวณการไล่ระดับสี เมื่อ is_training เป็นเท็จ Tensor 1D สำหรับค่าเฉลี่ยประชากรจะถูกนำมาใช้ใหม่ทั้งในการคำนวณการไล่ระดับสีลำดับที่ 1 และ 2
- reserve_space_2: เมื่อ is_training เป็น True Tensor 1D สำหรับผลต่างแบตช์ที่คำนวณ (ความแปรปรวนกลับด้านในกรณี cuDNN) ที่จะใช้ซ้ำในการคำนวณการไล่ระดับสี เมื่อ is_training เป็นเท็จ Tensor 1D สำหรับความแปรปรวนของประชากรจะถูกนำมาใช้ใหม่ทั้งในการคำนวณการไล่ระดับสีลำดับที่ 1 และ 2
แอตทริบิวต์เสริม (ดู Attrs
):
- epsilon: จำนวนทศนิยมขนาดเล็กที่เพิ่มเข้ากับความแปรปรวนของ x
- data_format: รูปแบบข้อมูลสำหรับ y_backprop, x, x_backprop "NHWC" (ค่าเริ่มต้น) หรือ "NCHW"
- is_training: ค่าบูลเพื่อระบุการดำเนินการสำหรับการฝึกอบรม (ค่าเริ่มต้น) หรือการอนุมาน
ผลตอบแทน:
-
Output
x_backprop: 4D Tensor สำหรับการไล่ระดับสีเทียบกับ x -
Output
scale_backprop: A 1D Tensor สำหรับการไล่ระดับสีตามมาตราส่วน -
Output
offset_backprop: 1D Tensor สำหรับการไล่ระดับสีที่เกี่ยวกับการชดเชย -
Output
reserve_space_3: ตัวยึดตำแหน่งที่ไม่ได้ใช้เพื่อจับคู่ค่าเฉลี่ยอินพุตใน FusedBatchNorm -
Output
reserve_space_4: ตัวยึดตำแหน่งที่ไม่ได้ใช้เพื่อจับคู่อินพุตความแปรปรวนใน FusedBatchNorm
ผู้สร้างและผู้ทำลาย | |
---|---|
FusedBatchNormGradV2 (const :: tensorflow::Scope & scope, :: tensorflow::Input y_backprop, :: tensorflow::Input x, :: tensorflow::Input scale, :: tensorflow::Input reserve_space_1, :: tensorflow::Input reserve_space_2) | |
FusedBatchNormGradV2 (const :: tensorflow::Scope & scope, :: tensorflow::Input y_backprop, :: tensorflow::Input x, :: tensorflow::Input scale, :: tensorflow::Input reserve_space_1, :: tensorflow::Input reserve_space_2, const FusedBatchNormGradV2::Attrs & attrs) |
คุณลักษณะสาธารณะ | |
---|---|
offset_backprop | |
operation | |
reserve_space_3 | |
reserve_space_4 | |
scale_backprop | |
x_backprop |
ฟังก์ชั่นคงที่สาธารณะ | |
---|---|
DataFormat (StringPiece x) | |
Epsilon (float x) | |
IsTraining (bool x) |
โครงสร้าง | |
---|---|
tensorflow :: ops :: FusedBatchNormGradV2 :: Attrs | ตัวตั้งค่าแอตทริบิวต์เสริมสำหรับ FusedBatchNormGradV2 |
คุณลักษณะสาธารณะ
offset_backprop
::tensorflow::Output offset_backprop
การดำเนินการ
Operation operation
reserve_space_3
::tensorflow::Output reserve_space_3
reserve_space_4
::tensorflow::Output reserve_space_4
scale_backprop
::tensorflow::Output scale_backprop
x_backprop
::tensorflow::Output x_backprop
หน้าที่สาธารณะ
FusedBatchNormGradV2
FusedBatchNormGradV2( const ::tensorflow::Scope & scope, ::tensorflow::Input y_backprop, ::tensorflow::Input x, ::tensorflow::Input scale, ::tensorflow::Input reserve_space_1, ::tensorflow::Input reserve_space_2 )
FusedBatchNormGradV2
FusedBatchNormGradV2( const ::tensorflow::Scope & scope, ::tensorflow::Input y_backprop, ::tensorflow::Input x, ::tensorflow::Input scale, ::tensorflow::Input reserve_space_1, ::tensorflow::Input reserve_space_2, const FusedBatchNormGradV2::Attrs & attrs )
ฟังก์ชั่นคงที่สาธารณะ
DataFormat
Attrs DataFormat( StringPiece x )
เอปไซลอน
Attrs Epsilon( float x )
IsTraining
Attrs IsTraining( bool x )