텐서플로우:: 연산:: 스테이지

#include <data_flow_ops.h>

단계 값은 경량 Enqueue와 유사합니다.

요약

이 Op의 기본 기능은 훨씬 적은 기능과 옵션을 가진 큐와 유사합니다. 이 Op는 성능 최적화를 위해 설계되었습니다.

논거:

  • 범위: Scope 객체
  • values: 텐서 목록 dtypes: 삽입된 값이 준수해야 하는 데이터 유형 목록입니다.

선택적 속성( Attrs 참조):

  • capacity: 스테이징 영역의 최대 요소 수입니다. 이 값이 0보다 크면 컨테이너 용량에 도달할 때 삽입 작업이 차단됩니다.
  • memory_limit: 스테이징 영역에서 텐서에 허용되는 최대 바이트 수입니다. 이 값이 0보다 크면 충분한 공간이 확보될 때까지 삽입 작업이 차단됩니다.
  • 컨테이너: 비어 있지 않으면 이 큐는 지정된 컨테이너에 배치됩니다. 그렇지 않으면 기본 컨테이너가 사용됩니다.
  • shared_name: 이 이름은 일치하는 Unstage Op와 일치해야 합니다.

보고:

생성자와 소멸자

Stage (const :: tensorflow::Scope & scope, :: tensorflow::InputList values)
Stage (const :: tensorflow::Scope & scope, :: tensorflow::InputList values, const Stage::Attrs & attrs)

공개 속성

operation

공공 기능

operator::tensorflow::Operation () const

공개 정적 함수

Capacity (int64 x)
Container (StringPiece x)
MemoryLimit (int64 x)
SharedName (StringPiece x)

구조

텐서플로우:: 연산:: 단계:: 속성

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

공개 속성

작업

Operation operation

공공 기능

단계

 Stage(
  const ::tensorflow::Scope & scope,
  ::tensorflow::InputList values
)

단계

 Stage(
  const ::tensorflow::Scope & scope,
  ::tensorflow::InputList values,
  const Stage::Attrs & attrs
)

연산자::텐서플로우::작업

 operator::tensorflow::Operation() const 

공개 정적 함수

용량

Attrs Capacity(
  int64 x
)

컨테이너

Attrs Container(
  StringPiece x
)

메모리 제한

Attrs MemoryLimit(
  int64 x
)

공유 이름

Attrs SharedName(
  StringPiece x
)