সেন্সরফ্লো :: অপস :: সিরিয়ালাইজমন্যস্পেসে
#include <sparse_ops.h>
একটি N
মনিব্যাচ SparseTensor
একটি [N, 3]
Tensor
অবজেক্টে সিরিয়াল করুন।
সারসংক্ষেপ
SparseTensor
র্যাঙ্ক থাকতে হবে R
1 এর চেয়ে বড়, এবং প্রথম মাত্রা minibatch মাত্রা হিসাবে গণ্য হবে। SparseTensor
উপাদানগুলি এই প্রথম মাত্রার ক্রমবর্ধমান ক্রম অনুসারে বাছাই করতে হবে। ধারাবাহিকভাবে SparseTensor
প্রতিটি সারি মধ্যে যাওয়া বস্তু serialized_sparse
র্যাঙ্ক থাকবে R-1
।
মিনিবেচ আকার N
sparse_shape[0]
থেকে বের করা হয়।
যুক্তি:
- সুযোগ: একটি স্কোপ অবজেক্ট
- sparse_indices: 2-ডি। মিনিবাচ
SparseTensor
indices
। - স্পার্স_ভ্যালু: 1-ডি। মিনিবাচ
SparseTensor
values
। - স্পার্স_শ্যাপ: 1-ডি। মিনিবাচ
SparseTensor
shape
।
- আউট_ টাইপ: সিরিয়ালাইজেশনের জন্য ব্যবহৃত
dtype
; সমর্থিত প্রকারগুলিstring
(ডিফল্ট) এবংvariant
।
রিটার্নস:
-
Output
: সিরিয়ালযুক্ত_স্পার্স টেন্সর or
নির্মাণকারী এবং ধ্বংসকারী | |
---|---|
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) |
স্ট্রাক্টস | |
---|---|
টেনসরফ্লো :: অপ্স :: সিরিয়ালাইজম্যানি স্পর্শ :: অ্যাট্রেস | সিরিয়ালাইজম্যানি স্পর্শের জন্য alচ্ছিক বৈশিষ্ট্য সেটটার । |
জনসাধারণের গুণাবলী
অপারেশন
Operation operation
সিরিয়ালাইজড_স্পার্স
::tensorflow::Output serialized_sparse
পাবলিক ফাংশন
সিরিয়ালাইজমন্যস্পেসে
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 )
নোড
::tensorflow::Node * node() const
অপারেটর :: টেনসরফ্লো :: ইনপুট
operator::tensorflow::Input() const
অপারেটর :: টেনসরফ্লো :: আউটপুট
operator::tensorflow::Output() const
পাবলিক স্ট্যাটিক ফাংশন
আউটটাইপ
Attrs OutType( DataType x )