텐서플로우:: ops:: EnsureShape

#include <array_ops.h>

텐서의 형태가 예상되는 형태와 일치하는지 확인합니다.

요약

입력 텐서의 형태가 지정된 형태와 일치하지 않으면 오류를 발생시킵니다. 그렇지 않으면 입력 텐서를 반환합니다.

논거:

  • 범위: Scope 객체
  • 입력: 형태를 검증할 텐서.
  • shape: 입력 텐서의 예상되는 (부분적으로 지정될 수도 있는) 형태입니다.

보고:

  • Output : 입력 텐서 또는 값과 동일한 모양과 내용을 가진 텐서.

생성자와 소멸자

EnsureShape (const :: tensorflow::Scope & scope, :: tensorflow::Input input, PartialTensorShape shape)

공개 속성

operation
output

공공 기능

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

공개 속성

작업

Operation operation

산출

::tensorflow::Output output

공공 기능

엔슈어쉐이프

 EnsureShape(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input input,
  PartialTensorShape shape
)

마디

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const