aliran tensor:: operasi:: Input DepthwiseConv2dNativeBackprop

#include <nn_ops.h>

Menghitung gradien konvolusi mendalam sehubungan dengan masukan.

Ringkasan

Argumen:

  • ruang lingkup: Objek Lingkup
  • input_sizes: Vektor bilangan bulat yang mewakili bentuk input , berdasarkan data_format . Misalnya, jika data_format adalah 'NHWC' maka input adalah tensor [batch, height, width, channels] 4-D.
  • filter: 4-D dengan bentuk [filter_height, filter_width, in_channels, depthwise_multiplier] .
  • out_backprop: 4-D dengan bentuk berdasarkan data_format . Misalnya, jika data_format adalah 'NHWC' maka bentuk out_backprop adalah [batch, out_height, out_width, out_channels] . Gradien menentukan keluaran konvolusi.
  • langkah: Langkah jendela geser untuk setiap dimensi masukan konvolusi.
  • padding: Jenis algoritma padding yang akan digunakan.

Atribut opsional (lihat Attrs ):

  • data_format: Menentukan format data input dan output data. Dengan format default "NHWC", data disimpan dalam urutan: [batch, tinggi, lebar, saluran]. Alternatifnya, formatnya bisa berupa "NCHW", urutan penyimpanan data: [batch, saluran, tinggi, lebar].
  • dilatasi: tensor 1-D dengan panjang 4. Faktor dilatasi untuk setiap dimensi input . Jika diatur ke k > 1, akan ada k-1 sel yang dilewati di antara setiap elemen filter pada dimensi tersebut. Urutan dimensi ditentukan oleh nilai data_format , lihat di atas untuk detailnya. Pelebaran dalam dimensi batch dan kedalaman harus 1.

Pengembalian:

  • Output : 4-D dengan bentuk sesuai data_format . Misalnya, jika data_format adalah 'NHWC', bentuk keluarannya adalah [batch, in_height, in_width, in_channels] . Gradien menulis masukan konvolusi.

Konstruktor dan Destruktor

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)

Atribut publik

operation
output

Fungsi publik

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

Fungsi statis publik

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

Struktur

tensorflow:: ops:: DepthwiseConv2dNativeBackpropInput:: Attrs

Penyetel atribut opsional untuk DepthwiseConv2dNativeBackpropInput .

Atribut publik

operasi

Operation operation

keluaran

::tensorflow::Output output

Fungsi publik

Input DepthwiseConv2dNativeBackprop

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

Input DepthwiseConv2dNativeBackprop

 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
)

simpul

::tensorflow::Node * node() const 

operator::tensorflow::Masukan

 operator::tensorflow::Input() const 

operator::tensorflow::Keluaran

 operator::tensorflow::Output() const 

Fungsi statis publik

Format data

Attrs DataFormat(
  StringPiece x
)

Pelebaran

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