tensorflow::ops::DepthwiseConv2dNativeBackpropInput

#include <nn_ops.h>

คำนวณค่าเกรเดียนต์ของการคอนโวลูชันเชิงลึกเทียบกับอินพุต

สรุป

ข้อโต้แย้ง:

  • ขอบเขต: วัตถุ ขอบเขต
  • input_sizes: เวกเตอร์จำนวนเต็มที่แสดงรูปร่างของ input โดยอิงตาม data_format ตัวอย่างเช่น หาก data_format คือ 'NHWC' input จะเป็นเทนเซอร์ 4 มิติ [batch, height, width, channels]
  • ตัวกรอง: 4 มิติที่มีรูปร่าง [filter_height, filter_width, in_channels, depthwise_multiplier]
  • out_backprop: 4 มิติที่มีรูปร่างขึ้นอยู่กับ data_format ตัวอย่างเช่น ถ้า data_format คือ 'NHWC' รูปร่างของ out_backprop จะเป็น [batch, out_height, out_width, out_channels] ค่าความชันเทียบกับผลลัพธ์ของการคอนโวลูชัน
  • strides: ระยะก้าวของหน้าต่างเลื่อนสำหรับแต่ละมิติของอินพุตของการแปลงคอนโวลูชัน
  • การเติมช่องว่าง: ประเภทของอัลกอริทึมการเติมช่องว่างที่จะใช้

คุณลักษณะเสริม (ดูที่ Attrs ):

  • data_format: ระบุรูปแบบข้อมูลของข้อมูลขาเข้าและขาออก โดยรูปแบบเริ่มต้นคือ "NHWC" ข้อมูลจะถูกจัดเก็บในลำดับ: [ชุดข้อมูล, ความสูง, ความกว้าง, ช่องสัญญาณ] หรืออาจใช้รูปแบบ "NCHW" ซึ่งลำดับการจัดเก็บข้อมูลจะเป็น: [ชุดข้อมูล, ช่องสัญญาณ, ความสูง, ความกว้าง]
  • การขยาย: เทนเซอร์ 1 มิติ ความยาว 4 ปัจจัยการขยายสำหรับแต่ละมิติของ input หากตั้งค่าเป็น k > 1 จะมีการข้ามเซลล์ k-1 เซลล์ระหว่างแต่ละองค์ประกอบตัวกรองในมิตินั้น ลำดับของมิติจะถูกกำหนดโดยค่าของ data_format ดูรายละเอียดเพิ่มเติมด้านบน การขยายในมิติแบทช์และมิติความลึกต้องเป็น 1

การส่งคืนสินค้า:

  • Output : รูปทรง 4 มิติ ตามรูป data_format ) ตัวอย่างเช่น ถ้า data_format คือ 'NHWC' รูปทรงของเอาต์พุตจะเป็น [batch, in_height, in_width, in_channels] และค่าเกรเดียนต์เทียบกับอินพุตของการคอนโวลูชัน

ตัวสร้างและตัวทำลาย

DepthwiseConv2dNativeBackpropInput (const :: tensorflow::Scope & scope, :: tensorflow::Input input_sizes, :: tensorflow::Input filter, :: tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding)
DepthwiseConv2dNativeBackpropInput (const :: tensorflow::Scope & scope, :: tensorflow::Input input_sizes, :: tensorflow::Input filter, :: tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding, const DepthwiseConv2dNativeBackpropInput::Attrs & attrs)

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

operation
output

หน้าที่สาธารณะ

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

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

DataFormat (StringPiece x)
Dilations (const gtl::ArraySlice< int > & x)

โครงสร้าง

tensorflow:: ops:: DepthwiseConv2dNativeBackpropInput:: Attrs

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

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

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

Operation operation

เอาต์พุต

::tensorflow::Output output

หน้าที่สาธารณะ

DepthwiseConv2dNativeBackpropInput

 DepthwiseConv2dNativeBackpropInput(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input_sizes,
  ::tensorflow::Input filter,
  ::tensorflow::Input out_backprop,
  const gtl::ArraySlice< int > & strides,
  StringPiece padding
)

DepthwiseConv2dNativeBackpropInput

 DepthwiseConv2dNativeBackpropInput(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input_sizes,
  ::tensorflow::Input filter,
  ::tensorflow::Input out_backprop,
  const gtl::ArraySlice< int > & strides,
  StringPiece padding,
  const DepthwiseConv2dNativeBackpropInput::Attrs & attrs
)

โหนด

::tensorflow::Node * node() const 

ตัวดำเนินการ::เทนเซอร์โฟลว์::อินพุต

 operator::tensorflow::Input() const 

ตัวดำเนินการ::เทนเซอร์โฟลว์::เอาต์พุต

 operator::tensorflow::Output() const 

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

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

Attrs DataFormat(
  StringPiece x
)

การขยาย

Attrs Dilations(
  const gtl::ArraySlice< int > & x
)