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

[ENH] Store losses as Python scalars instead of 0-dim NumPy arrays #4

Merged
merged 1 commit into from
May 14, 2024

Conversation

ulupo
Copy link
Collaborator

@ulupo ulupo commented May 14, 2024

Fixes #3.

Use .item() instead of dccn for losses. Change type annotations accordingly.

Use .item() instead of dccn for losses. Change type annotations accordingly.
@ulupo ulupo merged commit c26b106 into Bitbol-Lab:main May 14, 2024
1 check passed
@ulupo ulupo deleted the enh_store_losses_as_py_scalars branch May 14, 2024 10:11
@ulupo ulupo added this to the 0.1.1 milestone May 15, 2024
@ulupo ulupo added the enhancement New feature or request label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ENH] Store hard and soft losses as Python scalars instead of 0-dimensional NumPy arrays
1 participant