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

tensorflow :: ops :: 단계

#include <data_flow_ops.h>

경량 인큐와 유사한 단계 값입니다.

요약

이 Op의 기본 기능은 기능과 옵션이 훨씬 적은 대기열과 유사합니다. 이 작업은 성능에 최적화되어 있습니다.

인수 :

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

선택적 속성 ( Attrs 참조) :

  • 용량 : 스테이징 영역의 최대 요소 수. > 0 인 경우 용량에 도달하면 컨테이너의 삽입물이 차단됩니다.
  • memory_limit : 스테이징 영역에서 텐서에 허용되는 최대 바이트 수. > 0 인 경우 충분한 공간을 사용할 수있을 때까지 삽입이 차단됩니다.
  • container : 비어 있지 않은 경우이 큐는 지정된 컨테이너에 배치됩니다. 그렇지 않으면 기본 컨테이너가 사용됩니다.
  • 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)

구조체

tensorflow :: ops :: Stage :: Attrs

Stage의 선택적 속성 setter입니다.

공용 속성

조작

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

 operator::tensorflow::Operation() const 

공개 정적 함수

생산 능력

Attrs Capacity(
  int64 x
)

컨테이너

Attrs Container(
  StringPiece x
)

MemoryLimit

Attrs MemoryLimit(
  int64 x
)

SharedName

Attrs SharedName(
  StringPiece x
)