tensorflow :: ops :: 축적 NV2
#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
공공 기능
축적 NV2
AccumulateNV2( const ::tensorflow::Scope & scope, ::tensorflow::InputList inputs, PartialTensorShape shape )
마디
::tensorflow::Node * node() const
연산자 :: tensorflow :: 입력
operator::tensorflow::Input() const
연산자 :: tensorflow :: 출력
operator::tensorflow::Output() const