tensorflow:: ops:: SerializeManySparse
#include <sparse_ops.h> একটি N মিনিব্যাচ SparseTensor একটি [N, 3] Tensor অবজেক্টে সিরিয়ালাইজ করুন।
সারসংক্ষেপ
SparseTensor র্যাঙ্ক R অবশ্যই 1-এর চেয়ে বড় হতে হবে এবং এর প্রথম ডাইমেনশনটিকে মিনিব্যাচ ডাইমেনশন হিসেবে গণ্য করা হয়। SparseTensor এর উপাদানগুলোকে অবশ্যই এই প্রথম ডাইমেনশনের ক্রমবর্ধমান ক্রমে সাজাতে হবে। serialized_sparse এর প্রতিটি সারিতে যে সিরিয়ালাইজড SparseTensor অবজেক্টগুলো যাবে, সেগুলোর র্যাঙ্ক হবে R-1 ।
মিনিব্যাচ সাইজ N sparse_shape[0] থেকে নেওয়া হয়।
যুক্তি:
- স্কোপ: একটি স্কোপ অবজেক্ট
- sparse_indices: দ্বি-মাত্রিক। মিনিব্যাচ
SparseTensorএরindices। - sparse_values: ১-মাত্রিক। মিনিব্যাচ
SparseTensorএরvalues। - sparse_shape: ১-মাত্রিক। মিনিব্যাচ
SparseTensorshape।
ঐচ্ছিক অ্যাট্রিবিউটসমূহ (দেখুন Attrs ):
- আউট_টাইপ: সিরিয়ালাইজেশনের জন্য ব্যবহৃত
dtype; সমর্থিত টাইপগুলো হলোstring(ডিফল্ট) এবংvariant।
ফেরত:
-
Output: সিরিয়ালাইজড_স্পার্স টেনসর।
নির্মাতা এবং ধ্বংসকারী | |
|---|---|
SerializeManySparse (const :: tensorflow::Scope & scope, :: tensorflow::Input sparse_indices, :: tensorflow::Input sparse_values, :: tensorflow::Input sparse_shape) | |
SerializeManySparse (const :: tensorflow::Scope & scope, :: tensorflow::Input sparse_indices, :: tensorflow::Input sparse_values, :: tensorflow::Input sparse_shape, const SerializeManySparse::Attrs & attrs) |
জনসাধারণের বৈশিষ্ট্য | |
|---|---|
operation | |
serialized_sparse | |
জনসাধারণের কার্যাবলী | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
পাবলিক স্ট্যাটিক ফাংশন | |
|---|---|
OutType (DataType x) | |
কাঠামো | |
|---|---|
| tensorflow:: ops:: SerializeManySparse:: Attrs | SerializeManySparse-এর জন্য ঐচ্ছিক অ্যাট্রিবিউট সেটার। |
জনসাধারণের বৈশিষ্ট্য
অপারেশন
Operation operation
সিরিয়ালাইজড_স্পার্স
::tensorflow::Output serialized_sparse
জনসাধারণের কার্যাবলী
SerializeManySparse
SerializeManySparse( const ::tensorflow::Scope & scope, ::tensorflow::Input sparse_indices, ::tensorflow::Input sparse_values, ::tensorflow::Input sparse_shape )
SerializeManySparse
SerializeManySparse( const ::tensorflow::Scope & scope, ::tensorflow::Input sparse_indices, ::tensorflow::Input sparse_values, ::tensorflow::Input sparse_shape, const SerializeManySparse::Attrs & attrs )
নোড
::tensorflow::Node * node() const
অপারেটর::টেনসরফ্লো::ইনপুট
operator::tensorflow::Input() const
অপারেটর::টেনসরফ্লো::আউটপুট
operator::tensorflow::Output() const
পাবলিক স্ট্যাটিক ফাংশন
আউটটাইপ
Attrs OutType( DataType x )