Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit partially addresses issue #29.
When one or more tensors are transposed before a contraction (C=A*B), the shape of the contraction result might be different than the expected output C. Thus this intermediate results is stored in a temporary tensor, which will later be tranposed in the C, taking the expected shape. However, instead of just allocating this intermediate tensor we would also transpose tensor C into it, making a redundant trasposition. This commit removes this extra transposition.
- Loading branch information