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