Google I/O에 참여해 주셔서 감사합니다. 주문형 모든 세션 보기 주문형 시청

tensorflow :: ops :: 축적 NV2

#include <math_ops.h>

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

요약

tf.accumulate_n_v2 수행과 같은 작업을 tf.add_n 모든 입력이 합계 시작하기 전에 준비를 위해, 그러나 기다리지 않습니다. 최소 임시 저장은 입력 크기가 아닌 출력 크기에 비례하기 때문에 입력이 다른 시간에 준비된 경우 메모리를 절약 할 수 있습니다.

원래 accumulate_n 과 달리 accumulate_n_v2 는 구별 할 수 있습니다.

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

인수 :

  • 범위 : 범위 개체
  • 입력 : 각각 동일한 모양과 유형을 가진 Tensor 객체의 목록입니다.
  • shape : 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 

연산자 :: tensorflow :: 입력

 operator::tensorflow::Input() const 

연산자 :: tensorflow :: 출력

 operator::tensorflow::Output() const