tensorflow::ops::PlaceholderWithDefault

#include <array_ops.h>

ตัวดำเนินการตัวแทนที่ส่งผ่าน input เมื่อไม่มีการป้อนเอาต์พุต

สรุป

ข้อโต้แย้ง:

  • ขอบเขต: วัตถุ ขอบเขต
  • อินพุต: ค่าเริ่มต้นที่จะสร้างขึ้นเมื่อไม่ได้ป้อน output
  • รูปร่าง: รูปร่าง (อาจไม่สมบูรณ์) ของเทนเซอร์

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

  • Output : เทนเซอร์ตัวแทนที่หากไม่ได้รับการป้อนข้อมูลจะมีค่าเริ่มต้น input

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

PlaceholderWithDefault (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

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

ตัวยึดตำแหน่งพร้อมค่าเริ่มต้น

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

โหนด

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const