텐서플로우:: ops:: SparseConditionalAccumulator

#include <data_flow_ops.h>

희소한 기울기를 집계하기 위한 조건부 누산기.

요약

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

논거:

  • 범위: Scope 객체
  • dtype: 누적되는 값의 유형입니다.
  • 형태: 값의 형태.

선택적 속성( Attrs 참조):

  • 컨테이너: 비어 있지 않으면 이 누적기가 지정된 컨테이너에 저장됩니다. 그렇지 않으면 기본 컨테이너가 사용됩니다.
  • 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)

구조

텐서플로우:: ops:: SparseConditionalAccumulator:: Attrs

SparseConditionalAccumulator 에 대한 선택적 속성 설정기입니다.

공개 속성

핸들

::tensorflow::Output handle

작업

Operation operation

공공 기능

희소 조건부 누적기

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

희소 조건부 누적기

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

마디

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const 

공개 정적 함수

컨테이너

Attrs Container(
  StringPiece x
)

감소 유형

Attrs ReductionType(
  StringPiece x
)

공유 이름

Attrs SharedName(
  StringPiece x
)