Skip to content

Commit 1302f25

Browse files
committed
Useful loss function testing tool
1 parent 8f47048 commit 1302f25

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/test_loss.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
# https://stackoverflow.com/a/40622302
1+
# Note: this tool is borrowed from https://stackoverflow.com/a/40622302
2+
# i didn't write this, it was just helpful and i needed to run it
23

34
import numpy as np
45

@@ -48,4 +49,4 @@ def test_loss():
4849
print('======================')
4950

5051
if __name__ == '__main__':
51-
test_loss()
52+
test_loss()

0 commit comments

Comments
 (0)