tensorflow::ops::ZerosLike

#include <array_ops.h>

ส่งคืนเทนเซอร์ที่มีค่าเป็นศูนย์ทั้งหมด โดยมีรูปร่างและชนิดข้อมูลเหมือนกับ x

สรุป

ข้อโต้แย้ง:

  • ขอบเขต: วัตถุ ขอบเขต
  • x: เทนเซอร์ชนิด T

การส่งคืนสินค้า:

  • Output : เทนเซอร์ที่มีรูปร่างและประเภทเดียวกับ x แต่เต็มไปด้วยค่าศูนย์

ตัวสร้างและตัวทำลาย

ZerosLike (const :: tensorflow::Scope & scope, :: tensorflow::Input x)

คุณลักษณะสาธารณะ

operation
y

หน้าที่สาธารณะ

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

คุณลักษณะสาธารณะ

การดำเนินการ

Operation operation

y

::tensorflow::Output y

หน้าที่สาธารณะ

ศูนย์ไลค์

 ZerosLike(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x
)

โหนด

::tensorflow::Node * node() const 

ตัวดำเนินการ::เทนเซอร์โฟลว์::อินพุต

 operator::tensorflow::Input() const 

ตัวดำเนินการ::เทนเซอร์โฟลว์::เอาต์พุต

 operator::tensorflow::Output() const