tensorflow :: ops :: sureShape

#include <array_ops.h>

텐서의 모양이 예상 모양과 일치하는지 확인합니다.

요약

입력 텐서의 모양이 지정된 모양과 일치하지 않으면 오류를 발생시킵니다. 그렇지 않으면 입력 텐서를 반환합니다.

인수 :

  • 범위 : 범위 개체
  • 입력 : 모양이 검증 될 텐서.
  • 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

공공 기능

sureShape

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

마디

::tensorflow::Node * node() const 

연산자 :: tensorflow :: 입력

 operator::tensorflow::Input() const 

연산자 :: tensorflow :: 출력

 operator::tensorflow::Output() const