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

tensorflow :: ops :: 빈

#include <array_ops.h>

주어진 모양으로 텐서를 만듭니다.

요약

이 작업은 shapedtype 의 텐서를 만듭니다.

인수 :

  • 범위 : 범위 개체
  • 모양 : 1-D. 출력 텐서의 모양을 나타냅니다.

선택적 속성 ( Attrs 참조) :

  • init : True 인 경우 반환 된 텐서를 기본값 dtype으로 초기화합니다. 그렇지 않으면 구현에서 텐서의 내용을 초기화하지 않아도됩니다.

보고:

생성자와 소멸자

Empty (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, DataType dtype)
Empty (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, DataType dtype, const Empty::Attrs & attrs)

공용 속성

operation
output

공공 기능

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

공개 정적 함수

Init (bool x)

구조체

tensorflow :: ops :: Empty :: Attrs

Empty에 대한 선택적 속성 setter입니다.

공용 속성

조작

Operation operation

산출

::tensorflow::Output output

공공 기능

 Empty(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input shape,
  DataType dtype
)

 Empty(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input shape,
  DataType dtype,
  const Empty::Attrs & attrs
)

마디

::tensorflow::Node * node() const 

연산자 :: tensorflow :: 입력

 operator::tensorflow::Input() const 

연산자 :: tensorflow :: 출력

 operator::tensorflow::Output() const 

공개 정적 함수

초기화

Attrs Init(
  bool x
)