텐서플로우:: ops:: TensorArrayGather

#include <data_flow_ops.h>

TensorArray 에서 특정 요소들을 추출하여 value 으로 내보냅니다.

요약

indices 로 선택된 모든 요소는 동일한 형태를 가져야 합니다.

논거:

  • 범위: Scope 객체
  • 핸들: TensorArray 에 대한 핸들입니다.
  • 인덱스: TensorArray 에서 텐서 요소를 읽어올 위치입니다.
  • flow_in: 연산의 올바른 연결을 강제하는 부동 소수점 스칼라 값입니다.
  • dtype: 반환되는 요소의 유형입니다.

선택적 속성( Attrs 참조):

  • element_shape: 알려진 경우 요소의 예상 모양입니다. TensorArray 요소의 모양을 검증하는 데 사용됩니다. 이 모양이 완전히 지정되지 않으면 크기가 0인 TensorArray를 수집하는 것은 오류입니다.

보고:

생성자와 소멸자

TensorArrayGather (const :: tensorflow::Scope & scope, :: tensorflow::Input handle, :: tensorflow::Input indices, :: tensorflow::Input flow_in, DataType dtype)
TensorArrayGather (const :: tensorflow::Scope & scope, :: tensorflow::Input handle, :: tensorflow::Input indices, :: tensorflow::Input flow_in, DataType dtype, const TensorArrayGather::Attrs & attrs)

공개 속성

operation
value

공공 기능

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

공개 정적 함수

ElementShape (PartialTensorShape x)

구조

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

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

공개 속성

작업

Operation operation

값

::tensorflow::Output value

공공 기능

TensorArrayGather

 TensorArrayGather(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input handle,
  ::tensorflow::Input indices,
  ::tensorflow::Input flow_in,
  DataType dtype
)

TensorArrayGather

 TensorArrayGather(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input handle,
  ::tensorflow::Input indices,
  ::tensorflow::Input flow_in,
  DataType dtype,
  const TensorArrayGather::Attrs & attrs
)

마디

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const 

공개 정적 함수

요소 모양

Attrs ElementShape(
  PartialTensorShape x
)