tensorflow :: ops :: AccumulateNV2
#include <math_ops.h>
テンソルのリストの要素ごとの合計を返します。
概要
tf.accumulate_n_v2
行いと同じ操作tf.add_n
、しかし、和に開始する前に準備ができている全ての入力を待ちません。これにより、入力の準備が異なる時間に行われる場合にメモリを節約できます。これは、最小一時ストレージが入力サイズではなく出力サイズに比例するためです。
元のaccumulate_n
とは異なり、 accumulate_n_v2
は微分可能です。
inputs
の要素と同じ形状とタイプのTensor
を返します。
引数:
戻り値:
-
Output
:合計テンソル。
コンストラクタとデストラクタ | |
---|---|
AccumulateNV2 (const :: tensorflow::Scope & scope, :: tensorflow::InputList inputs, PartialTensorShape shape) |
パブリック属性 | |
---|---|
operation | |
sum |
公の行事 | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
パブリック属性
操作
Operation operation
和
::tensorflow::Output sum
公の行事
AccumulateNV2
AccumulateNV2( const ::tensorflow::Scope & scope, ::tensorflow::InputList inputs, PartialTensorShape shape )
ノード
::tensorflow::Node * node() const
operator :: tensorflow :: Input
operator::tensorflow::Input() const
operator :: tensorflow :: Output
operator::tensorflow::Output() const