tensorflow:: אופס:: SerializeSparse
#include <sparse_ops.h>
הסדר SparseTensor
לאובייקט Tensor
[3]
.
תַקצִיר
טיעונים:
- scope: אובייקט Scope
- מדדים_דלילים: דו מימדי.
indices
שלSparseTensor
. - sparse_values: 1-D.
values
שלSparseTensor
. - צורה_דלילה: 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 |
מבנים | |
---|---|
tensorflow:: ops:: SerializeSparse:: Attrs | קובעי תכונות אופציונליים עבור SerializeSparse . |
תכונות ציבוריות
מִבצָע
Operation operation
serialized_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
פונקציות סטטיות ציבוריות
OutType
Attrs OutType( DataType x )