tensorflow:: ops:: SerializeManySparse

#include <sparse_ops.h>

סידור של SparseTensor מסוג N מיני-אצווה לאובייקט Tensor [N, 3] .

תַקצִיר

ל- SparseTensor חייב להיות דרגה R גדולה מ-1, והממד הראשון נחשב לממד המיני-אצווה. אלמנטים של SparseTensor חייבים להיות ממוינים בסדר עולה של ממד ראשון זה. אובייקטי SparseTensor המסודרים הנכנסים לכל שורה של serialized_sparse יהיו בעלי דרגה R-1 .

גודל המיני-אצווה N מופק מ- sparse_shape[0] .

טיעונים:

  • היקף: אובייקט היקף
  • sparse_indices: דו-ממדי. indices של המיני-באץ' SparseTensor .
  • sparse_values: 1-D. values של המיני-אצווה SparseTensor .
  • sparse_shape: חד-ממדי. 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

פונקציות סטטיות ציבוריות

OutType (DataType x)

מבנים

tensorflow:: ops:: 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 

אופרטור::tensorflow::קלט

 operator::tensorflow::Input() const 

אופרטור::tensorflow::פלט

 operator::tensorflow::Output() const 

פונקציות סטטיות ציבוריות

סוג חוץ

Attrs OutType(
  DataType x
)