텐서플로우:: 작전:: 축적NV2

#include <math_ops.h>

텐서 목록의 요소별 합계를 반환합니다.

요약

tf.accumulate_n_v2 tf.add_n 과 동일한 작업을 수행하지만 합계를 시작하기 전에 모든 입력이 준비될 때까지 기다리지 않습니다. 최소 임시 저장 공간은 입력 크기가 아닌 출력 크기에 비례하므로 입력이 서로 다른 시간에 준비되는 경우 메모리를 절약할 수 있습니다.

원래 accumulate_n 과 달리 accumulate_n_v2 는 미분 가능합니다.

inputs 요소와 동일한 모양과 유형의 Tensor 반환합니다.

인수:

  • 범위: 범위 개체
  • 입력: 각각 동일한 모양과 유형을 가진 Tensor 객체의 목록입니다.
  • 모양: inputs 요소의 모양입니다.

보고:

생성자와 소멸자

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 

연산자::텐서플로우::입력

 operator::tensorflow::Input() const 

연산자::텐서플로우::출력

 operator::tensorflow::Output() const