टेन्सरफ्लो::ऑप्स::मैटमल

#include <math_ops.h>

मैट्रिक्स "a" को मैट्रिक्स "b" से गुणा करें ।

सारांश

इनपुट दो-आयामी मैट्रिक्स होने चाहिए और "a" का आंतरिक आयाम (ट्रांसपोज़ होने के बाद यदि transpose_a सत्य है) "b" के बाहरी आयाम (ट्रांसपोज़ होने के बाद यदि transposed_b सत्य है) से मेल खाना चाहिए।

नोट : जीपीयू पर MatMul के लिए डिफ़ॉल्ट कर्नेल कार्यान्वयन cublas का उपयोग करता है।

तर्क:

वैकल्पिक विशेषताएँ (देखें Attrs ):

  • transpose_a: यदि सत्य है, तो गुणन से पहले "a" को ट्रांसपोज़ किया जाता है।
  • transpose_b: यदि सत्य है, तो गुणन से पहले "b" को ट्रांसपोज़ किया जाता है।

प्रतिफल:

  • 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)

संरचनाएँ

टेन्सरफ्लो::ऑप्स::मैटमल::एट्रिब्यूट्स

MatMul के लिए वैकल्पिक विशेषता निर्धारक।

सार्वजनिक विशेषताएँ

संचालन

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
)