সেন্সরফ্লো :: অপস :: ম্যাটমুল
#include <math_ops.h>
গুন ম্যাট্রিক্স "A" ম্যাট্রিক্স দ্বারা "খ"।
সারসংক্ষেপ
ইনপুটগুলি অবশ্যই দ্বি-মাত্রিক ম্যাট্রিক এবং "এ" এর অভ্যন্তরীণ মাত্রা (ট্রান্সপোস_এটি সত্য হলে প্রতিস্থাপনের পরে) অবশ্যই "খ" এর বাহ্যিক মাত্রার সাথে মিলবে (ট্রান্সপোজড_বিটি সত্য হলে ট্রান্সপোসড হওয়ার পরে)।
দ্রষ্টব্য : জিপিইউগুলিতে ম্যাটমুলের জন্য ডিফল্ট কার্নেল বাস্তবায়ন কিউব্লাস ব্যবহার করে।
যুক্তি:
- সুযোগ: একটি স্কোপ অবজেক্ট
- ট্রান্সপোজ_এ: যদি সত্য হয় তবে গুণনের আগে "এ" স্থানান্তরিত হয়।
- ট্রান্সপোজ_বি: যদি সত্য হয় তবে গুণনের আগে "বি" স্থানান্তরিত হয়।
রিটার্নস:
-
Output
: পণ্য টেনসর।
নির্মাণকারী এবং ধ্বংসকারী | |
---|---|
MatMul (const :: tensorflow::Scope & scope, :: tensorflow::Input a, :: tensorflow::Input b) | |
MatMul (const :: tensorflow::Scope & scope, :: tensorflow::Input a, :: tensorflow::Input b, const MatMul::Attrs & attrs) |
জনসাধারণের গুণাবলী | |
---|---|
operation | |
product |
পাবলিক ফাংশন | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
পাবলিক স্ট্যাটিক ফাংশন | |
---|---|
TransposeA (bool x) | |
TransposeB (bool x) |
স্ট্রাক্টস | |
---|---|
টেনসরফ্লো :: অপ্স :: ম্যাটমুল :: অ্যাটারস | ম্যাটমুলের জন্য .চ্ছিক বৈশিষ্ট্য নির্ধারক । |
জনসাধারণের গুণাবলী
অপারেশন
Operation operation
পণ্য
::tensorflow::Output product
পাবলিক ফাংশন
ম্যাটমুল
MatMul( const ::tensorflow::Scope & scope, ::tensorflow::Input a, ::tensorflow::Input b )
ম্যাটমুল
MatMul( const ::tensorflow::Scope & scope, ::tensorflow::Input a, ::tensorflow::Input b, const MatMul::Attrs & attrs )
নোড
::tensorflow::Node * node() const
অপারেটর :: টেনসরফ্লো :: ইনপুট
operator::tensorflow::Input() const
অপারেটর :: টেনসরফ্লো :: আউটপুট
operator::tensorflow::Output() const
পাবলিক স্ট্যাটিক ফাংশন
ট্রান্সপোসএ
Attrs TransposeA( bool x )
ট্রান্সপোজবি
Attrs TransposeB( bool x )