टेंसरफ़्लो:: ऑप्स:: विरल विरल न्यूनतम

#include <sparse_ops.h>

दो SparseTensors का तत्व-वार न्यूनतम लौटाता है।

सारांश

मान लिया गया है कि दोनों SparseTensors का आकार एक जैसा है, यानी कोई प्रसारण नहीं।

तर्क:

  • स्कोप: एक स्कोप ऑब्जेक्ट
  • a_indices: 2-D. कैनोनिकल लेक्सिकोग्राफ़िक क्रम में, SparseTensor में गैर-रिक्त मानों के सूचकांक के साथ N x R मैट्रिक्स।
  • a_मान: 1-डी. a_indices के अनुरूप N गैर-रिक्त मान।
  • a_आकार: 1-डी. इनपुट SparseTensor का आकार।
  • b_indices: अन्य ऑपरेंड के लिए a_indices का समकक्ष।
  • b_values: अन्य ऑपरेंड के लिए a_values ​​का समकक्ष; एक ही dtype का होना चाहिए.
  • b_shape: अन्य ऑपरेंड के लिए a_shape का समकक्ष; दोनों आकृतियाँ समान होनी चाहिए।

रिटर्न:

  • Output आउटपुट_इंडिसेस: 2-डी। आउटपुट SparseTensor के सूचकांक।
  • Output आउटपुट_मान: 1-डी। आउटपुट SparseTensor के मान।

निर्माता और विध्वंसक

SparseSparseMinimum (const :: tensorflow::Scope & scope, :: tensorflow::Input a_indices, :: tensorflow::Input a_values, :: tensorflow::Input a_shape, :: tensorflow::Input b_indices, :: tensorflow::Input b_values, :: tensorflow::Input b_shape)

सार्वजनिक गुण

operation
output_indices
output_values

सार्वजनिक गुण

संचालन

Operation operation

आउटपुट_सूचकांक

::tensorflow::Output output_indices

आउटपुट_मान

::tensorflow::Output output_values

सार्वजनिक समारोह

विरल विरल न्यूनतम

 SparseSparseMinimum(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input a_indices,
  ::tensorflow::Input a_values,
  ::tensorflow::Input a_shape,
  ::tensorflow::Input b_indices,
  ::tensorflow::Input b_values,
  ::tensorflow::Input b_shape
)