tensor akışı:: işlem:: DepthwiseConv2dNativeBackpropFilter
#include <nn_ops.h>Filtreye göre derinlemesine evrişimin gradyanlarını hesaplar.
Özet
Argümanlar:
- kapsam: Bir Kapsam nesnesi
- giriş:
data_formatdayalı şekilli 4 boyutlu. Örneğin,data_format'NHWC' iseinput4-D[batch, in_height, in_width, in_channels]tensörüdür. - filter_sizes:
filtertensör şeklini temsil eden bir tamsayı vektörü; buradafilter, 4 boyutlu bir[filter_height, filter_width, in_channels, depthwise_multiplier]tensördür. - out_backprop:
data_formatdayalı şekle sahip 4 boyutlu. Örneğin,data_format'NHWC' ise out_backprop şekli[batch, out_height, out_width, out_channels]olur. Degradeler evrişimin çıktısına göredir. - adımlar: Evrişim girişinin her 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: [toplu iş, yükseklik, genişlik, kanallar]. Alternatif olarak format, veri depolama sırası olan "NCHW" olabilir: [toplu iş, kanallar, yükseklik, genişlik].
- genişlemeler: 1-D uzunluk tensörü 4.
inputher boyutu için genişleme faktörü. k > 1 olarak ayarlanırsa, o boyuttaki her filtre elemanı arasında k-1 atlanmış hücre olacaktır. Boyut sırasıdata_formatdeğerine göre belirlenir; ayrıntılar için yukarıya bakın. Parti ve derinlik boyutlarındaki genişlemeler 1 olmalıdır.
İade:
-
Output: Şekilli 4-D[filter_height, filter_width, in_channels, out_channels]. Evrişiminfiltergirişine göre gradyan.
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 | |
Kamu işlevleri | |
|---|---|
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:: Öznitelikler | DepthwiseConv2dNativeBackpropFilter için isteğe bağlı öznitelik ayarlayıcılar. |
Genel özellikler
operasyon
Operation operation
çıktı
::tensorflow::Output output
Kamu işlevleri
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
operatör::tensorflow::Giriş
operator::tensorflow::Input() const
operatör::tensorflow::Çıktı
operator::tensorflow::Output() const
Genel statik işlevler
Veri Formatı
Attrs DataFormat( StringPiece x )
Dilatasyonlar
Attrs Dilations( const gtl::ArraySlice< int > & x )