tensorflow :: ops :: AvgPool3D

#include <nn_ops.h>

Melakukan penggabungan rata-rata 3D pada input.

Ringkasan

Argumen:

  • scope: Objek Scope
  • input: Bentuk [batch, depth, rows, cols, channels] tensor untuk disatukan.
  • ksize: panjang tensor 1-D 5. Ukuran window untuk setiap dimensi tensor input. Harus memiliki ksize[0] = ksize[4] = 1 .
  • langkah: tensor 1-D dengan panjang 5. Langkah jendela geser untuk setiap dimensi input . Harus memiliki strides[0] = strides[4] = 1 .
  • padding: Jenis algoritma padding yang akan digunakan.

Atribut opsional (lihat Attrs ):

  • data_format: Format data dari data masukan dan keluaran. Dengan format default "NDHWC", data disimpan dalam urutan: [batch, in_depth, in_height, in_width, in_channels]. Atau, formatnya bisa "NCDHW", urutan penyimpanan datanya adalah: [batch, in_channels, in_depth, in_height, in_width].

Pengembalian:

  • Output : Tensor keluaran gabungan rata-rata.

Pembuat dan Penghancur

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

Structs

tensorflow :: ops :: AvgPool3D :: Attrs

Penyetel atribut opsional untuk AvgPool3D .

Atribut publik

operasi

Operation operation

keluaran

::tensorflow::Output output

Fungsi publik

AvgPool3D

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

AvgPool3D

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

simpul

::tensorflow::Node * node() const 

operator :: tensorflow :: Input

 operator::tensorflow::Input() const 

operator :: tensorflow :: Keluaran

 operator::tensorflow::Output() const 

Fungsi statis publik

Format data

Attrs DataFormat(
  StringPiece x
)