Write unit tests for the compute_correct and compute_accuracy functions in dl_eval.py. You can approach writing these quick unit tests using pytest and having "dummy tensors". You can take inspiration from the test_loss_function.py setup-wise of the tensors
Write unit tests for the
compute_correct
andcompute_accuracy
functions indl_eval.py
. You can approach writing these quick unit tests usingpytest
and having "dummy tensors". You can take inspiration from thetest_loss_function.py
setup-wise of the tensors