เทนเซอร์โฟลว์:: ปฏิบัติการ:: SerializeSparse
#include <sparse_ops.h> ทำให้ SparseTensor เป็นอนุกรมลงในวัตถุ [3] Tensor
สรุป
ข้อโต้แย้ง:
- ขอบเขต: วัตถุ ขอบเขต
-  sparse_indices: 2-D indicesของSparseTensor
-  sparse_values: 1-D valuesของSparseTensor
-  sparse_shape: 1-D shapeของSparseTensor
 แอ็ตทริบิวต์ทางเลือก (ดู Attrs ):
-  out_type: dtypeที่จะใช้สำหรับการซีเรียลไลซ์ ประเภทที่รองรับคือstring(ค่าเริ่มต้น) และvariant
ผลตอบแทน:
-  Output: เทนเซอร์ serialized_sparse
| ตัวสร้างและผู้ทำลาย | |
|---|---|
| SerializeSparse (const :: tensorflow::Scope & scope, :: tensorflow::Input sparse_indices, :: tensorflow::Input sparse_values, :: tensorflow::Input sparse_shape) | |
| SerializeSparse (const :: tensorflow::Scope & scope, :: tensorflow::Input sparse_indices, :: tensorflow::Input sparse_values, :: tensorflow::Input sparse_shape, const SerializeSparse::Attrs & attrs) | 
| คุณลักษณะสาธารณะ | |
|---|---|
| operation | |
| serialized_sparse | |
| งานสาธารณะ | |
|---|---|
| node () const | ::tensorflow::Node * | 
| operator::tensorflow::Input () const | |
| operator::tensorflow::Output () const | |
| ฟังก์ชันคงที่สาธารณะ | |
|---|---|
| OutType (DataType x) | |
| โครงสร้าง | |
|---|---|
| เทนเซอร์โฟลว์ :: ops :: SerializeSparse :: Attrs | ตัวตั้งค่าแอ็ตทริบิวต์ทางเลือกสำหรับ SerializeSparse | 
คุณลักษณะสาธารณะ
การดำเนินการ
Operation operation
อนุกรม_sparse
::tensorflow::Output serialized_sparse
งานสาธารณะ
SerializeSparse
SerializeSparse( const ::tensorflow::Scope & scope, ::tensorflow::Input sparse_indices, ::tensorflow::Input sparse_values, ::tensorflow::Input sparse_shape )
SerializeSparse
SerializeSparse( const ::tensorflow::Scope & scope, ::tensorflow::Input sparse_indices, ::tensorflow::Input sparse_values, ::tensorflow::Input sparse_shape, const SerializeSparse::Attrs & attrs )
โหนด
::tensorflow::Node * node() const
ตัวดำเนินการ::tensorflow::อินพุต
operator::tensorflow::Input() const
ตัวดำเนินการ::tensorflow::เอาต์พุต
operator::tensorflow::Output() const
ฟังก์ชันคงที่สาธารณะ
ประเภทออก
Attrs OutType( DataType x )