tensor akışı:: işlem:: Maksimum Havuz

#include <nn_ops.h>

Girişte maksimum havuzlama gerçekleştirir.

Özet

Argümanlar:

  • kapsam: Bir Kapsam nesnesi
  • giriş: havuza alınacak 4 boyutlu giriş.
  • ksize: Giriş tensörünün her boyutu için pencerenin boyutu.
  • adımlar: Giriş tensörünün 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: [batch, in_height, in_width, in_channels]. Alternatif olarak format, veri depolama sırası olan "NCHW" olabilir: [batch, in_channels, in_height, in_width].

İadeler:

  • Output : Maksimum havuzlanmış çıkış tensörü.

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

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

Yapılar

tensorflow:: ops:: MaxPool:: Öznitelikler

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

Genel özellikler

operasyon

Operation operation

çıktı

::tensorflow::Output output

Kamu işlevleri

Maksimum Havuz

 MaxPool(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  const gtl::ArraySlice< int > & ksize,
  const gtl::ArraySlice< int > & strides,
  StringPiece padding
)

Maksimum Havuz

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