tensorflow::ops::ShardedFilename

#include <io_ops.h>

สร้างชื่อไฟล์แบบแบ่งส่วน (sharded filename)

สรุป

ชื่อไฟล์จะถูกจัดรูปแบบด้วยคำสั่ง printf ดังนี้

s-%05d-of-%05d, basename, shard, num_shards.

ข้อโต้แย้ง:

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

  • Output : เทนเซอร์ชื่อไฟล์

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

ShardedFilename (const :: tensorflow::Scope & scope, :: tensorflow::Input basename, :: tensorflow::Input shard, :: tensorflow::Input num_shards)

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

filename
operation

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

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

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

ชื่อไฟล์

::tensorflow::Output filename

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

Operation operation

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

ชื่อไฟล์ที่แบ่งส่วน

 ShardedFilename(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input basename,
  ::tensorflow::Input shard,
  ::tensorflow::Input num_shards
)

โหนด

::tensorflow::Node * node() const 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const