tensorflow:: ops:: SerializeSparse

#include <sparse_ops.h>

একটি SparseTensor একটি [3] Tensor অবজেক্টে সিরিয়ালাইজ করুন।

সারসংক্ষেপ

যুক্তি:

  • স্কোপ: একটি স্কোপ অবজেক্ট
  • sparse_indices: দ্বি-মাত্রিক। SparseTensor এর indices ।
  • sparse_values: ১-মাত্রিক। SparseTensor এর values ।
  • sparse_shape: ১-মাত্রিক। SparseTensor shape ।

ঐচ্ছিক অ্যাট্রিবিউটসমূহ (দেখুন 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

সিরিয়ালাইজড_স্পার্স

::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() const 

অপারেটর::টেনসরফ্লো::আউটপুট

 operator::tensorflow::Output() const 

পাবলিক স্ট্যাটিক ফাংশন

আউটটাইপ

Attrs OutType(
  DataType x
)