Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

20 tensor complete documentation for all methods #218

Conversation

dmdunla
Copy link
Collaborator

@dmdunla dmdunla commented Aug 26, 2023

Pulling in other doc updates.


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

@dmdunla dmdunla merged commit 755eb4b into 21-sptensor-complete-documentation-for-all-methods Aug 26, 2023
5 checks passed
dmdunla added a commit that referenced this pull request Nov 5, 2023
* 20 tensor complete documentation for all methods (#218)

* Starting docs

* Docstrings through constructors. Fixing blankline in tensor.__str__. Aligning docstrings across classes.

* Through contract

* Through innerprod

* Completed docstring updates.

* Updating class docs to autoclass.

* FIxing black formatting.

* Start of docstring refactor. Aligning with tensor.

* Adding doctest docs for constructors.

* Black formatting.

* More docstests.

* Fixing save problem.

* Doctest updates

* Fixing message when incorrect shape is provided

* Fixing sptensor.collapse

* doc: Minor update

* More doctest updates.

* More doctest. Checkpoint.

* logical_and doctest

* Sptensor docstrings. Aligning with ktensor.

* Black formatting

* Adding doctest for updated mask.

* Doctest through norm, aligning with ktensor

* Doctest through reshape

* Black formatting

* Docstrings (cont). Align squeeze with changes in tensor.

* ttv checkpoint

* Fixing boolean values

* TENSOR/SPTENSOR: Make squeeze consistent and correct

* TENSOR/SPTENSOR: Hmm previous version worked locally. Try alternative approach to extract scalar from singleton array

* Checkpoint hrough __getitem__

* More docstrings.

* Fixing sptensor.__ne__. There are no tests for any of the __<foo>__ methods.

* Black (again, ugh!)

* Docstring checkpoint

* Checkpoint

* Fix doctest for contract

* Starting to address extract. Need to open a new Issue before removing this, as it impacts the comparison operators in a non-trivial way.

* Fix sptensor output in sumtensor doctest

* Cleaning up some pytest dev marks and pre-commit docs.

* sptensor coverage updates (extract skipped)

* Coverage updates

* Update CONTRIBUTING.md

Co-authored-by: Nick <[email protected]>

* Update pyttb/sptensor.py

Co-authored-by: Nick <[email protected]>

* Update pyttb/sptensor.py

Co-authored-by: Nick <[email protected]>

* Update pyttb/sptensor.py

Co-authored-by: Nick <[email protected]>

* Update pyttb/sptensor.py

Co-authored-by: Nick <[email protected]>

* Update pyttb/sptensor.py

Co-authored-by: Nick <[email protected]>

* Update pyttb/sptensor.py

Co-authored-by: Nick <[email protected]>

* Update pyttb/sptensor.py

Co-authored-by: Nick <[email protected]>

* Update pyttb/sptensor.py

Co-authored-by: Nick <[email protected]>

* Update pyttb/sptensor.py

Co-authored-by: Nick <[email protected]>

* Update pyttb/sptensor.py

Co-authored-by: Nick <[email protected]>

* Update pyttb/sptensor.py

Co-authored-by: Nick <[email protected]>

* Update pyttb/sptensor.py

Co-authored-by: Nick <[email protected]>

* Update pyttb/sptensor.py

Co-authored-by: Nick <[email protected]>

* Update pyttb/sptensor.py

Co-authored-by: Nick <[email protected]>

* Update pyttb/sptensor.py

Co-authored-by: Nick <[email protected]>

* Update pyttb/sptensor.py

Co-authored-by: Nick <[email protected]>

* Update pyttb/sptensor.py

Co-authored-by: Nick <[email protected]>

* Update pyttb/sptensor.py

Co-authored-by: Nick <[email protected]>

* Update pyttb/sptensor.py

Co-authored-by: Nick <[email protected]>

* Update pyttb/sptensor.py

Co-authored-by: Nick <[email protected]>

* Update pyttb/sptensor.py

Co-authored-by: Nick <[email protected]>

* Update pyttb/sptensor.py

Co-authored-by: Nick <[email protected]>

* Update pyttb/sptensor.py

Co-authored-by: Nick <[email protected]>

* Update pyttb/sptensor.py

Co-authored-by: Nick <[email protected]>

* Update pyttb/sptensor.py

Co-authored-by: Nick <[email protected]>

* Update pyttb/sptensor.py

Co-authored-by: Nick <[email protected]>

* Update pyttb/sptensor.py

Co-authored-by: Nick <[email protected]>

* Fixing breaks from review.

* Addressing reviews. Moving towards more brevity. Removing Returns since we use type hints.

---------

Co-authored-by: Nick Johnson <[email protected]>
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.

1 participant