Skip to content

Conversation

@ntjohnson1
Copy link
Collaborator

@ntjohnson1 ntjohnson1 commented Sep 2, 2023

Should resolve #76 since I believe things should just work out of the box with interface similarities. Let me know if you saw a bug or ran into some issue I didn't capture.

Added a limited coverage of scale consistent with our sptensor interface which should resolve #26. I don't know the full usage so unclear if having exclude dims as well is a must have. Left a few todos where we could probably improve our tt_dimscheck and one weird reshaping issue that I didn't root cause if it was a column vs row thing or C vs Fortran layout thing.


📚 Documentation preview 📚: https://pyttb--221.org.readthedocs.build/en/221/

* Update interface for mypy to check
* Update simple tests to confirm
* Add scale and tests
* Didn't add exclude dims, but could to match MATLAB
* Skipped the function handle since that seems redudant with other functionality we have
* Forgot negative test
* Typo in my TODO
@ntjohnson1 ntjohnson1 marked this pull request as ready for review September 2, 2023 19:37
@ntjohnson1 ntjohnson1 requested a review from dmdunla September 2, 2023 19:37
@dmdunla dmdunla merged commit 12b8829 into sandialabs:main Sep 5, 2023
@ntjohnson1 ntjohnson1 deleted the nick/tensor_scale branch September 7, 2023 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Extend cp_als to work with ttensor input tensor: implement scale

2 participants