Open TheNewSound opened 4 years ago
Hi, @TheNewSound
Apologize for the delayed response and I tried to replicate the same issue from my end with wasm backend and I'm getting below output with latest version of @tensorflow/tfjs@4.10.0
so May I know have we taken care of this issue ?
Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base.
The TFJs team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TFJs version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate.
Please follow the release notes to stay up to date with the latest developments which are happening in the Tensorflow.js space.
Thank you for your support and cooperation.
What I described was a performance optimization suggestion/question.
Describe the problem or feature request
When executing
const result = tf.matMul(a,b,transposeA,transposeB);
and the following holds:a==b && (transposeA ^ transposeB)
(where^
is the XOR-operator) Then tf.matMul only has to calculate the upper triangle and can mirror those values to the lower triangle of the resulting matrix or vice-versa.I see the WebAssembly back-end currently does not take advantage of this property? Maybe this counts for other back-ends aswell? For example CUDA has
cublas<t>syrk()
, don't know if Tensorflow takes advantage of this in CUDA...