tensorflow:: ops:: 空

#include <array_ops.h>

指定された形状のテンソルを作成します。

まとめ

この操作は、 shapeとdtypeのテンソルを作成します。

議論:

  • スコープ:スコープオブジェクト
  • 形状:1次元。出力テンソルの形状を表します。

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

  • init: Trueの場合、返されるテンソルをdtypeのデフォルト値で初期化します。それ以外の場合は、実装側でテンソルの内容を初期化しなくても構いません。

返品:

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

Empty (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, DataType dtype)
Empty (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, DataType dtype, const Empty::Attrs & attrs)

公開属性

operation
output

公的機能

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

パブリック静的関数

Init (bool x)

構造

tensorflow:: ops:: Empty:: Attrs

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

公開属性

手術

Operation operation

出力

::tensorflow::Output output

公的機能

空の

 Empty(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input shape,
  DataType dtype
)

空の

 Empty(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input shape,
  DataType dtype,
  const Empty::Attrs & attrs
)

ノード

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

パブリック静的関数

初期化

Attrs Init(
  bool x
)