tensorflow:: ops:: DepthwiseConv2dNativeBackpropFilter

#include <nn_ops.h>

מחשב את הגרדיאנטים של קונבולוציה לעומק ביחס למסנן.

תַקצִיר

טיעונים:

  • היקף: אובייקט היקף
  • קלט: 4-ממדי עם צורה המבוססת על data_format . לדוגמה, אם data_format הוא 'NHWC' אז input הוא טנזור 4-ממדי [batch, in_height, in_width, in_channels] .
  • filter_sizes: וקטור שלם המייצג את צורת הטנזור של filter , כאשר filter הוא טנזור 4-Mad [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] . גרדיאנטים הם הפלט של הקונבולוציה.
  • צעדים: צעדי חלון ההזזה עבור כל ממד של הקלט של הקונבולוציה.
  • ריפוד: סוג אלגוריתם הריפוד שיש להשתמש בו.

מאפיינים אופציונליים (ראה Attrs ):

  • data_format: ציין את פורמט הנתונים של נתוני הקלט והפלט. עם פורמט ברירת המחדל "NHWC", הנתונים מאוחסנים בסדר הבא: [batch, height, width, channels]. לחלופין, הפורמט יכול להיות "NCHW", סדר אחסון הנתונים הבא: [batch, channels, height, width].
  • הרחבות: טנזור חד-ממדי באורך 4. גורם ההרחבה עבור כל ממד של input . אם מוגדר ל-k > 1, יהיו k-1 תאים שדלגו עליהם בין כל אלמנט מסנן באותו ממד. סדר הממדים נקבע על ידי הערך של data_format , ראה פרטים לעיל. הרחבות בממדי האצווה והעומק חייבות להיות 1.

החזרות:

  • Output : 4-ממדי עם צורה [filter_height, filter_width, in_channels, out_channels] . גרדיאנט עבור filter המסנן של הקונבולוציה.

בנאים והורסים

DepthwiseConv2dNativeBackpropFilter (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input filter_sizes, :: tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding)
DepthwiseConv2dNativeBackpropFilter (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input filter_sizes, :: tensorflow::Input out_backprop, const gtl::ArraySlice< int > & strides, StringPiece padding, const DepthwiseConv2dNativeBackpropFilter::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:: DepthwiseConv2dNativeBackpropFilter:: Attrs

קובעי מאפיינים אופציונליים עבור DepthwiseConv2dNativeBackpropFilter .

מאפיינים ציבוריים

מִבצָע

Operation operation

תְפוּקָה

::tensorflow::Output output

תפקידים ציבוריים

מסנן Backprop מקורי של DepthwiseConv2d

 DepthwiseConv2dNativeBackpropFilter(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input filter_sizes,
  ::tensorflow::Input out_backprop,
  const gtl::ArraySlice< int > & strides,
  StringPiece padding
)

מסנן Backprop מקורי של DepthwiseConv2d

 DepthwiseConv2dNativeBackpropFilter(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  ::tensorflow::Input filter_sizes,
  ::tensorflow::Input out_backprop,
  const gtl::ArraySlice< int > & strides,
  StringPiece padding,
  const DepthwiseConv2dNativeBackpropFilter::Attrs & attrs
)

צוֹמֶת

::tensorflow::Node * node() const 

אופרטור::tensorflow::קלט

 operator::tensorflow::Input() const 

אופרטור::tensorflow::פלט

 operator::tensorflow::Output() const 

פונקציות סטטיות ציבוריות

פורמט נתונים

Attrs DataFormat(
  StringPiece x
)

התרחבות

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