tensorflow:: ops:: SparseConditionalAccumulator

#include <data_flow_ops.h>

疎な勾配を集約するための条件付きアキュムレータ。

まとめ

アキュムレータは、アキュムレータが認識する最新のグローバルステップ以上のローカルステップを持つ勾配を受け入れます。十分な勾配が蓄積されていれば、アキュムレータから平均値を抽出できます。平均値を抽出すると、アキュムレータは自動的に0にリセットされ、アキュムレータに記録されたグローバルステップが増加します。

議論:

  • スコープ:スコープオブジェクト
  • dtype: 蓄積される値の型。
  • 形状:値の形状。

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

  • コンテナ:空でない場合、このアキュムレータは指定されたコンテナに格納されます。空でない場合は、デフォルトのコンテナが使用されます。
  • shared_name: 空でない場合、このアキュムレータは指定された名前で複数のセッション間で共有されます。

返品:

  • Output :アキュムレータへのハンドル。

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

SparseConditionalAccumulator (const :: tensorflow::Scope & scope, DataType dtype, PartialTensorShape shape)
SparseConditionalAccumulator (const :: tensorflow::Scope & scope, DataType dtype, PartialTensorShape shape, const SparseConditionalAccumulator::Attrs & attrs)

公開属性

handle
operation

公的機能

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

パブリック静的関数

Container (StringPiece x)
ReductionType (StringPiece x)
SharedName (StringPiece x)

構造

tensorflow:: ops:: SparseConditionalAccumulator:: Attrs

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

公開属性

ハンドル

::tensorflow::Output handle

手術

Operation operation

公的機能

スパース条件付きアキュムレータ

 SparseConditionalAccumulator(
  const ::tensorflow::Scope & scope,
  DataType dtype,
  PartialTensorShape shape
)

スパース条件付きアキュムレータ

 SparseConditionalAccumulator(
  const ::tensorflow::Scope & scope,
  DataType dtype,
  PartialTensorShape shape,
  const SparseConditionalAccumulator::Attrs & attrs
)

ノード

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

パブリック静的関数

容器

Attrs Container(
  StringPiece x
)

削減タイプ

Attrs ReductionType(
  StringPiece x
)

共有名

Attrs SharedName(
  StringPiece x
)