เทนเซอร์โฟลว์:: ปฏิบัติการ:: FusedBatchNormGradV2

#include <nn_ops.h>

การไล่ระดับสีสำหรับการทำให้เป็นมาตรฐานแบบแบทช์

สรุป

โปรดทราบว่าขนาดของเทนเซอร์ 4D ถูกกำหนดโดย "NHWC" หรือ "NCHW" ขนาดของเทนเซอร์ 1D ตรงกับมิติ C ของเทนเซอร์ 4D

ข้อโต้แย้ง:

  • ขอบเขต: วัตถุ ขอบเขต
  • y_backprop: เทนเซอร์ 4 มิติสำหรับการไล่ระดับสีเทียบกับ y
  • x: 4D Tensor สำหรับข้อมูลอินพุต
  • สเกล: เทนเซอร์ 1D สำหรับตัวประกอบสเกล เพื่อปรับขนาด x ปกติ
  • Reserve_space_1: เมื่อ is_training เป็น True 1D Tensor สำหรับแบตช์ที่คำนวณจะถูกนำมาใช้ซ้ำในการคำนวณแบบไล่ระดับ เมื่อ is_training เป็นเท็จ 1D Tensor สำหรับประชากรจะถูกนำมาใช้ซ้ำในการคำนวณการไล่ระดับลำดับที่ 1 และ 2
  • Reserve_space_2: เมื่อ is_training เป็นจริง 1D Tensor สำหรับความแปรปรวนแบทช์ที่คำนวณแล้ว (ความแปรปรวนแบบกลับด้านในกรณี cuDNN) เพื่อนำมาใช้ซ้ำในการคำนวณแบบไล่ระดับ เมื่อ is_training เป็นเท็จ เทนเซอร์ 1D สำหรับความแปรปรวนประชากรจะถูกนำมาใช้ซ้ำในการคำนวณการไล่ระดับลำดับที่ 1 และ 2

แอ็ตทริบิวต์ทางเลือก (ดู Attrs ):

  • เอปไซลอน: จำนวนทศนิยมขนาดเล็กที่บวกเข้ากับความแปรปรวนของ x
  • data_format: รูปแบบข้อมูลสำหรับ y_backprop, x, x_backprop "NHWC" (ค่าเริ่มต้น) หรือ "NCHW"
  • is_training: ค่าบูลเพื่อระบุการดำเนินการสำหรับการฝึก (ค่าเริ่มต้น) หรือการอนุมาน

ผลตอบแทน:

  • Output x_backprop: เทนเซอร์ 4D สำหรับการไล่ระดับสีเทียบกับ x
  • Output scale_backprop: เทนเซอร์ 1D สำหรับการไล่ระดับสีตามขนาด
  • 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)

โครงสร้าง

เทนเซอร์โฟลว์ :: ops :: FusedBatchNormGradV2 :: Attrs

ตัวตั้งค่าแอ็ตทริบิวต์ทางเลือกสำหรับ FusedBatchNormGradV2

คุณลักษณะสาธารณะ

offset_backprop

::tensorflow::Output offset_backprop

การดำเนินการ

Operation operation

สำรอง_พื้นที่_3

::tensorflow::Output reserve_space_3

สำรอง_พื้นที่_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
)

ฟังก์ชันคงที่สาธารณะ

รูปแบบข้อมูล

Attrs DataFormat(
  StringPiece x
)

เอปซิลอน

Attrs Epsilon(
  float x
)

คือการฝึกอบรม

Attrs IsTraining(
  bool x
)