テンソルフロー::作戦:: Conv3D

#include <nn_ops.h>

5 次元inputfilterテンソルを指定して 3 次元畳み込みを計算します。

まとめ

信号処理における相互相関は、2 つの波形の一方に適用されるタイムラグの関数としての 2 つの波形の類似性の尺度です。これは、スライディング ドット積またはスライディング内積とも呼ばれます。

Conv3Dは相互相関の形式を実装しています。

引数:

  • スコープ:スコープオブジェクト
  • 入力: Shape [batch, in_depth, in_height, in_width, in_channels]
  • フィルター: 形状[filter_depth, filter_height, filter_width, in_channels, out_channels]in_channels inputfilterの間で一致する必要があります。
  • strides: 長さ 5 の 1 次元テンソル。 inputの各次元のスライディング ウィンドウのストライド。 strides[0] = strides[4] = 1でなければなりません。
  • padding: 使用するパディング アルゴリズムのタイプ。

オプションの属性 ( Attrsを参照):

  • data_format: 入力データと出力データのデータ形式。デフォルトの形式「NDHWC」では、データは[バッチ、深さ、高さ、幅、チャネル]の順に保存されます。あるいは、形式を「NCDHW」にすることもでき、データの保存順序は [batch、in_channels、in_ Depth、in_height、in_width] になります。
  • dilations: 長さ 5 の 1 次元テンソル。 inputの各次元の膨張係数。 k > 1 に設定すると、その次元の各フィルター要素間に k-1 個のスキップされたセルが存在します。ディメンションの順序はdata_formatの値によって決まります。詳細については上記を参照してください。バッチ内の膨張と深さの寸法は 1 である必要があります。

戻り値:

  • Output : 出力テンソル。

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

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

パブリック属性

operation
output

公共機能

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

パブリック静的関数

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

構造体

tensorflow:: ops:: Conv3D:: Attrs

Conv3Dのオプションの属性セッター。

パブリック属性

手術

Operation operation

出力

::tensorflow::Output output

公共機能

Conv3D

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

Conv3D

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

ノード

::tensorflow::Node * node() const 

演算子::tensorflow::入力

 operator::tensorflow::Input() const 

演算子::tensorflow::出力

 operator::tensorflow::Output() const 

パブリック静的関数

データ形式

Attrs DataFormat(
  StringPiece x
)

拡張

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