টেনসরফ্লো :: অপস:: সিরিয়ালাইজস্পার্স

#include <sparse_ops.h>

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

সারসংক্ষেপ

যুক্তি:

  • স্কোপ: একটি স্কোপ অবজেক্ট
  • sparse_index: 2-D. SparseTensor এর indices
  • sparse_values: 1-D. SparseTensor এর values
  • sparse_shape: 1-D. SparseTensor এর shape

ঐচ্ছিক বৈশিষ্ট্য (দেখুন Attrs ):

  • out_type: সিরিয়ালাইজেশনের জন্য ব্যবহার করা 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(
  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 

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

 operator::tensorflow::Input() const 

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

 operator::tensorflow::Output() const 

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

আউটটাইপ

Attrs OutType(
  DataType x
)