tensorflow:: אופס:: SerializeManySparse
#include <sparse_ops.h>
הסדר N
-minibatch SparseTensor
לאובייקט Tensor
[N, 3]
.
תַקצִיר
ל- SparseTensor
חייב להיות דירוג R
גדול מ-1, והממד הראשון מטופל כמימד המיני-אצט. יש למיין אלמנטים של SparseTensor
בסדר הולך וגדל של הממד הראשון הזה. אובייקטי SparseTensor
המסודרים הנכנסים לכל שורה של serialized_sparse
יהיו בעלי דרגה R-1
.
גודל המיניאצ' N
מופק מ- sparse_shape[0]
.
טיעונים:
- scope: אובייקט Scope
- מדדים_דלילים: דו מימדי.
indices
של ה-minibatchSparseTensor
. - sparse_values: 1-D.
values
של ה-minibatchSparseTensor
. - צורה_דלילה: 1-D.
shape
המיניאצ'SparseTensor
.
מאפיינים אופציונליים (ראה Attrs
):
- out_type: ה-
dtype
לשימוש עבור עיבוד בסידרה; הסוגים הנתמכים הםstring
(ברירת מחדל) ו-variant
.
החזרות:
-
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) |
תכונות ציבוריות | |
---|---|
operation | |
serialized_sparse |
תפקידים ציבוריים | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
מבנים | |
---|---|
tensorflow:: ops:: SerializeManySparse:: Attrs | קובעי תכונות אופציונליים עבור SerializeManySparse . |
תכונות ציבוריות
מִבצָע
Operation operation
serialized_sparse
::tensorflow::Output serialized_sparse
תפקידים ציבוריים
SerializeManySparse
SerializeManySparse( const ::tensorflow::Scope & scope, ::tensorflow::Input sparse_indices, ::tensorflow::Input sparse_values, ::tensorflow::Input sparse_shape )
SerializeManySparse
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
מפעיל::tensorflow::קלט
operator::tensorflow::Input() const
אופרטור::tensorflow::פלט
operator::tensorflow::Output() const
פונקציות סטטיות ציבוריות
OutType
Attrs OutType( DataType x )