Skip to content

Comments

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

Merged
ulupo merged 1 commit intoBitbol-Lab:mainfrom
ulupo:enh_store_losses_as_py_scalars
May 14, 2024
Merged

[ENH] Store losses as Python scalars instead of 0-dim NumPy arrays#4
ulupo merged 1 commit intoBitbol-Lab:mainfrom
ulupo:enh_store_losses_as_py_scalars

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
@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