টেনসরফ্লো :: অপস:: সিরিয়ালাইজস্পার্স
#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 )