Google I/O में ट्यूनिंग के लिए धन्यवाद। मांग पर सभी सत्र देखें मांग पर देखें

टेंसरफ़्लो :: ऑप्स :: SparseTensorDenseMatMul

#include <sparse_ops.h>

गुणा स्पार्सटेन्सर (रैंक 2 का) घने मैट्रिक्स "बी" द्वारा "ए"।

सारांश

ए। के सूचकांकों पर कोई वैधता जाँच नहीं की जाती है। हालांकि, इष्टतम व्यवहार के लिए निम्नलिखित इनपुट प्रारूप की सिफारिश की जाती है:

यदि adjoint_a == false: A को लेक्सिकोग्राफ़िक रूप से बढ़ते क्रम में सॉर्ट किया जाना चाहिए। यदि आपको यकीन नहीं है तो SparseReorder का उपयोग करें। अगर adjoint_a == सच: A को बढ़ते आयाम 1 (यानी, "पंक्ति प्रमुख" क्रम के बजाय "स्तंभ प्रमुख" क्रम के क्रम में क्रमबद्ध किया जाना चाहिए)।

तर्क:

  • गुंजाइश: एक स्कोप ऑब्जेक्ट
  • a_indices: 2-डी। indices की SparseTensor , आकार [nnz, 2] मैट्रिक्स।
  • a_values: 1-डी। SparseTensor values , आकार [nnz] वेक्टर।
  • a_shape: 1-डी। shape की SparseTensor , आकार [2] वेक्टर।
  • बी: 2-डी। एक सघन मैट्रिक्स।

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

  • adjoint_a: मैट्रिक्स में A के निकटता का उपयोग करें। यदि A जटिल है, तो यह transpose (conj) (ए) है। अन्यथा यह संक्रमण (ए) है।
  • adjoint_b: मैट्रिक्स में B के निकटता का उपयोग करें। यदि बी जटिल है, तो यह संक्रमण (संयोजन (बी)) है। अन्यथा यह संक्रमण (बी) है।

रिटर्न:

  • Output : उत्पाद टेंसर।

कंस्ट्रक्टर और डिस्ट्रक्टर्स

SparseTensorDenseMatMul (const :: tensorflow::Scope & scope, :: tensorflow::Input a_indices, :: tensorflow::Input a_values, :: tensorflow::Input a_shape, :: tensorflow::Input b)
SparseTensorDenseMatMul (const :: tensorflow::Scope & scope, :: tensorflow::Input a_indices, :: tensorflow::Input a_values, :: tensorflow::Input a_shape, :: tensorflow::Input b, const SparseTensorDenseMatMul::Attrs & attrs)

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

operation
product

सार्वजनिक कार्य

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

सार्वजनिक स्थैतिक कार्य

AdjointA (bool x)
AdjointB (bool x)

संरचनाएं

टेंसोफ़्लो :: ऑप्स :: स्पार्सटेंसोरडेंसमैटुल :: एट्र्स

SparseTensorDenseMatMul के लिए वैकल्पिक विशेषता बसती है

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

ऑपरेशन

Operation operation

उत्पाद

0eb8686590

सार्वजनिक कार्य

SparseTensorDenseMatMul

 SparseTensorDenseMatMul(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input a_indices,
  ::tensorflow::Input a_values,
  ::tensorflow::Input a_shape,
  ::tensorflow::Input b
)

SparseTensorDenseMatMul

 SparseTensorDenseMatMul(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input a_indices,
  ::tensorflow::Input a_values,
  ::tensorflow::Input a_shape,
  ::tensorflow::Input b,
  const SparseTensorDenseMatMul::Attrs & attrs
)

नोड

::tensorflow::Node * node() const 

ऑपरेटर :: टेंसरफ़्लो :: इनपुट

 operator::tensorflow::Input() const 
है

ऑपरेटर :: टेंसोफ़्लो :: आउटपुट

 operator::tensorflow::Output() const 

सार्वजनिक स्थैतिक कार्य

AdjointA

Attrs AdjointA(
  bool x
)

AdjointB

Attrs AdjointB(
  bool x
)