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

Restrict dtypes, bugfixes, test basic tensor functions #14

Merged
merged 12 commits into from
Jan 4, 2024

Conversation

tostenzel
Copy link
Owner

@tostenzel tostenzel commented Jan 3, 2024

  • bugfixes

  • due to dtype related bugs:

    • move dtypes to own module
    • only allow bool, int32 and float32
      - Only allow float32 when Tensor(list). (Perhaps allow bool, int32, too if list is only bool, and only int32 in the future?) -> Yet most operations in TensorData cast to float32 anyways.
  • ingetration test for mnist test acc > 93 %

  • unit tests for tensor distributed over according modules

@tostenzel tostenzel linked an issue Jan 3, 2024 that may be closed by this pull request
@tostenzel tostenzel changed the title Add tests Test basic tensor functions Jan 4, 2024
@tostenzel
Copy link
Owner Author

TODO:

  • Perhaps split test_tensor.py across multiple modules according to repo structure
  • Figure out how to adjust tests to restricted dtypes

@tostenzel tostenzel changed the title Test basic tensor functions Restrict dtypes, bugfixes, test basic tensor functions Jan 4, 2024
@tostenzel tostenzel merged commit 318d6cf into main Jan 4, 2024
2 checks passed
@tostenzel tostenzel deleted the 12-add-tests-2 branch January 5, 2024 17:58
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.

Add tests
1 participant