टेंसरफ़्लो :: ऑप्स :: सिरियलिज़मनीस्पर्श
#include <sparse_ops.h>
एक N
Nibibatch SparseTensor
को [N, 3]
Tensor
ऑब्जेक्ट में SparseTensor
।
सारांश
SparseTensor
R
संख्या 1 से अधिक होनी चाहिए, और पहले आयाम को मिनीबैच आयाम के रूप में माना जाता है। SparseTensor
तत्वों को इस पहले आयाम के बढ़ते क्रम में क्रमबद्ध किया जाना चाहिए। क्रमबद्ध SparseTensor
प्रत्येक पंक्ति में serialized_sparse
की प्रत्येक पंक्ति में जाने वाली रैंक R-1
।
मिनीबैच आकार N
को sparse_shape[0]
से निकाला जाता है।
तर्क:
- गुंजाइश: एक स्कोप ऑब्जेक्ट
- विरल_बिंदु: 2-डी। मिनीबैच
SparseTensor
indices
। - sparse_values: 1-D।
values
minibatch कीSparseTensor
। - स्पार्स_शैप: १-डी। मिनीबैच
SparseTensor
काshape
।
वैकल्पिक विशेषताएँ ( Attrs
देखें):
- out_type:
dtype
लिए उपयोग करने काdtype
; समर्थित प्रकारstring
(डिफ़ॉल्ट) औरvariant
।
रिटर्न:
-
Output
: क्रमबद्ध_समान टेंसर।
कंस्ट्रक्टर और डिस्ट्रक्टर्स | |
---|---|
SerializeManySparse (const :: tensorflow::Scope & scope, :: tensorflow::Input sparse_indices, :: tensorflow::Input sparse_values, :: tensorflow::Input sparse_shape) | |
SerializeManySparse (const :: tensorflow::Scope & scope, :: tensorflow::Input sparse_indices, :: tensorflow::Input sparse_values, :: tensorflow::Input sparse_shape, const SerializeManySparse::Attrs & attrs) |
सार्वजनिक विशेषताएँ | |
---|---|
operation | |
serialized_sparse |
सार्वजनिक कार्य | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
सार्वजनिक स्थैतिक कार्य | |
---|---|
OutType (DataType x) |
संरचनाएं | |
---|---|
टेंसोफ़्लो :: ऑप्स :: SerializeManySparse :: Attrs | वैकल्पिक विशेषता SerializeManySparse के लिए बसती है । |
सार्वजनिक विशेषताएँ
ऑपरेशन
Operation operation
क्रमबद्ध_परिवर्तन
::tensorflow::Output serialized_sparseहै
सार्वजनिक कार्य
सिरियलिज़मनीस्पर्श
SerializeManySparse( const ::tensorflow::Scope & scope, ::tensorflow::Input sparse_indices, ::tensorflow::Input sparse_values, ::tensorflow::Input sparse_shape )
सिरियलिज़मनीस्पर्श
SerializeManySparse( const ::tensorflow::Scope & scope, ::tensorflow::Input sparse_indices, ::tensorflow::Input sparse_values, ::tensorflow::Input sparse_shape, const SerializeManySparse::Attrs & attrs )
नोड
::tensorflow::Node * node() const
ऑपरेटर :: टेंसरफ़्लो :: इनपुट
operator::tensorflow::Input() constहै
ऑपरेटर :: टेंसरफ़्लो :: आउटपुट
operator::tensorflow::Output() const
सार्वजनिक स्थैतिक कार्य
आउटटाइप
Attrs OutType( DataType x )