tensorflow:: ops:: ExtractVolumePatches

#include <array_ops.h>

inputからpatchesを抽出し、出力の「深度」次元に配置します。

まとめ

extract_image_patchesの 3D 拡張。

議論:

  • スコープ:スコープオブジェクト
  • 入力: 形状が[batch, in_planes, in_rows, in_cols, depth]の 5 次元テンソル。
  • ksizes: inputの各次元に対するスライディングウィンドウのサイズ。
  • strides: 長さ 5 の 1 次元。 inputの連続する 2 つのパッチの中心間の距離。次の形式である必要があります: [1, stride_planes, stride_rows, stride_cols, 1] 。
  • padding: 使用するパディングアルゴリズムの種類。

サイズ関連の属性は次のように指定します。

      ksizes = [1, ksize_planes, ksize_rows, ksize_cols, 1]
      strides = [1, stride_planes, strides_rows, strides_cols, 1]

返品:

  • Output :形状が[batch, out_planes, out_rows, out_cols, ksize_planes * ksize_rows * ksize_cols * depth]の 5 次元テンソル。このテンソルにはksize_planes x ksize_rows x ksize_cols x depthサイズのパッチが「depth」次元でベクトル化されて格納されます。なお、 out_planes 、 out_rows 、 out_colsは出力パッチの次元です。

コンストラクターとデストラクタ

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

公開属性

operation
patches

公的機能

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

公開属性

手術

Operation operation

パッチ

::tensorflow::Output patches

公的機能

ボリュームパッチの抽出

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

ノード

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const