tensorflow:: ops:: プレースホルダー

#include <array_ops.h>

計算式に渡される値のためのプレースホルダー演算子。

まとめ

注:この操作を実行するとエラーが発生して失敗します。これは、常に渡される値を表し、渡された値をランタイム時にチェックできるようにする属性を提供するためのものです。

議論:

  • スコープ:スコープオブジェクト
  • dtype: テンソル内の要素の型。

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

  • shape: (オプション) テンソルの形状。形状の次元が0の場合、形状は制約されません。

返品:

  • Output :フィード機構を使用して置き換える必要があるプレースホルダーテンソル。

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

Placeholder (const :: tensorflow::Scope & scope, DataType dtype)
Placeholder (const :: tensorflow::Scope & scope, DataType dtype, const Placeholder::Attrs & attrs)

公開属性

operation
output

公的機能

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

パブリック静的関数

Shape (PartialTensorShape x)

構造

tensorflow:: ops:: Placeholder:: Attrs

プレースホルダーのオプション属性設定子。

公開属性

手術

Operation operation

出力

::tensorflow::Output output

公的機能

プレースホルダー

 Placeholder(
  const ::tensorflow::Scope & scope,
  DataType dtype
)

プレースホルダー

 Placeholder(
  const ::tensorflow::Scope & scope,
  DataType dtype,
  const Placeholder::Attrs & attrs
)

ノード

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

パブリック静的関数

形

Attrs Shape(
  PartialTensorShape x
)