tensorflow:: عملیات:: سریالایزسپارس

#include <sparse_ops.h>

یک SparseTensor به یک شیء Tensor [3] سریالی کنید.

خلاصه

استدلال‌ها:

  • دامنه: یک شیء دامنه
  • sparse_indices: دوبعدی. indices SparseTensor .
  • sparse_values: 1-D. values SparseTensor .
  • sparse_shape: 1-D. shape SparseTensor .

ویژگی‌های اختیاری (به Attrs مراجعه کنید):

  • out_type: dtype که برای سریال‌سازی استفاده می‌شود؛ انواع پشتیبانی‌شده عبارتند از string (پیش‌فرض) و variant .

بازده:

  • 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)

ویژگی‌های عمومی

operation
serialized_sparse

کارکردهای عمومی

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

توابع استاتیک عمومی

OutType (DataType x)

ساختارها

tensorflow:: عملیات:: SerializeSparse:: جذابیت‌ها

تنظیم‌کننده‌های ویژگی اختیاری برای SerializeSparse .

ویژگی‌های عمومی

عملیات

Operation operation

serialized_sparse

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

عملگر::tensorflow::ورودی

 operator::tensorflow::Input() const 

عملگر::tensorflow::خروجی

 operator::tensorflow::Output() const 

توابع استاتیک عمومی

نوع خروجی

Attrs OutType(
  DataType x
)