tensorflow:: ops:: SerializeSparse

#include <sparse_ops.h>

قم بتحويل SparseTensor إلى كائن Tensor من [3] .

ملخص

الحجج:

  • النطاق: كائن النطاق
  • sparse_indices: 2-D. indices SparseTensor .
  • sparse_values: 1-D. values SparseTensor .
  • sparse_shape: 1-D. shape SparseTensor .

السمات الاختيارية (انظر Attrs ):

  • نوع الإخراج: 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)

الهياكل

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 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

الدوال الثابتة العامة

نوع الإخراج

Attrs OutType(
  DataType x
)