tensorflow :: ops :: SparseConditional Accumulator

#include <data_flow_ops.h>

희소 그라디언트를 집계하기위한 조건부 누산기입니다.

요약

누산기는 누산기에 알려진 가장 최근의 global_step보다 크거나 같은 local_step으로 표시된 그라디언트를 허용합니다. 충분한 기울기가 누적 된 경우 누적 기에서 평균을 추출 할 수 있습니다. 평균을 추출하면 집계가 자동으로 0으로 재설정되고 누산기에 의해 기록 된 global_step이 증가합니다.

인수 :

  • 범위 : 범위 개체
  • dtype : 누적되는 값의 유형입니다.
  • 모양 : 값의 모양.

선택적 속성 ( Attrs 참조) :

  • container : 비어 있지 않은 경우이 누적 기는 주어진 컨테이너에 배치됩니다. 그렇지 않으면 기본 컨테이너가 사용됩니다.
  • 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

공공 기능

SparseConditional Accumulator

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

SparseConditional Accumulator

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

마디

::tensorflow::Node * node() const 

연산자 :: tensorflow :: 입력

 operator::tensorflow::Input() const 

연산자 :: tensorflow :: 출력

 operator::tensorflow::Output() const 

공개 정적 함수

컨테이너

Attrs Container(
  StringPiece x
)

감소 유형

Attrs ReductionType(
  StringPiece x
)

SharedName

Attrs SharedName(
  StringPiece x
)