टेंसरफ़्लो :: ऑप्स :: SparseSparseMaximum
#include <sparse_ops.h>
दो SparseTensors के तत्व-वार अधिकतम लौटाता है।
सारांश
मान लें कि दो SparseTensors का आकार एक जैसा है, अर्थात, कोई प्रसारण नहीं है।
तर्क:
- गुंजाइश: एक स्कोप ऑब्जेक्ट
- a_indices: 2-डी।
N x R
मैट्रिक्स गैर-रिक्त मानों के सूचकांकों के साथ एक SparseTensor में, कैनोनिकल लेक्सिकोग्राफ़िक ऑर्डर में। - a_values: 1-डी।
N
गैर खाली मान के लिए इसीa_indices
। - a_shape: 1-डी। इनपुट का आकार SparseTensor।
- b_indices: दूसरे ऑपरेंड के लिए
a_indices
समकक्ष। - b_values: दूसरे ऑपरेंड के लिए
a_values
प्रतिपक्ष; एक ही dtype का होना चाहिए - b_shape: दूसरे ऑपरेंड के लिए
a_shape
समकक्ष; दो आकृतियों के बराबर होना चाहिए।
रिटर्न:
-
Output
output_indices: 2-D। उत्पादन SparseTensor के सूचकांक। -
Output
output_values: 1-D। आउटपुट स्पार्सटेन्सर के मूल्य।
कंस्ट्रक्टर और डिस्ट्रक्टर्स | |
---|---|
SparseSparseMaximum (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
output_indices
::tensorflow::Output output_indices
output_values
::tensorflow::Output output_values
सार्वजनिक कार्य
SparseSparseMaximum
SparseSparseMaximum( 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 )