Google I/O'yu ayarladığınız için teşekkür ederiz. İsteğe bağlı olarak tüm oturumları görüntüleyin İsteğe bağlı olarak izleyin

tensorflow :: ops :: DepthwiseConv2dNativeBackpropFilter

#include <nn_ops.h>

Filtreye göre derinlemesine evrişimin gradyanlarını hesaplar.

Özet

Argümanlar:

  • kapsam: Bir Scope nesnesi
  • input: data_format temelli şekle sahip 4-D. Örneğin, data_format 'NHWC' ise, input bir 4-D [batch, in_height, in_width, in_channels] .
  • filter_sizes: filter bir 4-D [filter_height, filter_width, in_channels, depthwise_multiplier] tensör olduğu, filter tensör şeklini temsil eden bir tamsayı vektörü.
  • out_backprop: göre şekil 4-D data_format . Örneğin, data_format 'NHWC' ise, out_backprop şekli [batch, out_height, out_width, out_channels] . Gradyanlar, evrişimin çıktısını oluşturur.
  • strides: Evrişim girdisinin her bir boyutu için kayan pencerenin adımı.
  • padding: Kullanılacak dolgu algoritmasının türü.

İsteğe bağlı özellikler (bkz. Attrs ):

  • data_format: Giriş ve çıkış verilerinin veri formatını belirtin. Varsayılan format "NHWC" ile veriler şu sırayla saklanır: [parti, yükseklik, genişlik, kanallar]. Alternatif olarak, format "NCHW" olabilir, veri saklama sırası: [parti, kanallar, yükseklik, genişlik].
  • genişlemeler: 1-D uzunluk tensörü 4. Her input boyutu için genişleme faktörü. K> 1 olarak ayarlanırsa, o boyuttaki her filtre öğesi arasında k-1 atlanan hücreler olacaktır. Boyut sırası data_format değerine göre data_format , ayrıntılar için yukarıya bakın. Parti ve derinlik boyutlarındaki genişlemeler 1 olmalıdır.

İadeler:

  • Output : [filter_height, filter_width, in_channels, out_channels] şeklinde 4-D. Gradyan, evrişimin filter girdisini oluşturdu.

Yapıcılar ve Yıkıcılar

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)

Genel özellikler

operation
output

Kamusal işlevler

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

Genel statik işlevler

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

Yapılar

tensorflow :: ops :: DepthwiseConv2dNativeBackpropFilter :: Attrs

DepthwiseConv2dNativeBackpropFilter için isteğe bağlı öznitelik ayarlayıcıları.

Genel özellikler

operasyon

Operation operation

çıktı

::tensorflow::Output output

Kamusal işlevler

DepthwiseConv2dNativeBackpropFilter

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

DepthwiseConv2dNativeBackpropFilter

 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
)

düğüm

::tensorflow::Node * node() const 

operator :: tensorflow :: Girdi

 operator::tensorflow::Input() const 

operator :: tensorflow :: Çıktı

 operator::tensorflow::Output() const 

Genel statik işlevler

Veri formatı

Attrs DataFormat(
  StringPiece x
)

Dilatasyonlar

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