टेंसरफ़्लो :: ऑप्स :: सीरियलाइज़स्पर्श
#include <sparse_ops.h>
एक SparseTensor
को [3]
Tensor
ऑब्जेक्ट में SparseTensor
।
सारांश
तर्क:
- गुंजाइश: एक स्कोप ऑब्जेक्ट
- विरल_बिंदु: 2-डी।
SparseTensor
indices
। - sparse_values: 1-D।
values
कीSparseTensor
। - स्पार्स_शैप: १-डी।
SparseTensor
काshape
।
वैकल्पिक विशेषताएँ ( Attrs
देखें):
- out_type:
dtype
लिए उपयोग करने काdtype
; समर्थित प्रकारstring
(डिफ़ॉल्ट) औरvariant
।
रिटर्न:
-
Output
: क्रमबद्ध_समान टेंसर।
कंस्ट्रक्टर और डिस्ट्रक्टर्स | |
---|---|
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) |
संरचनाएं | |
---|---|
टेंसोफ़्लो :: ऑप्स :: सीरीअलाइज़रपर्स :: एट्र्स | वैकल्पिक विशेषता 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 )