dfdx icon indicating copy to clipboard operation
dfdx copied to clipboard

Refactor unit tests with large arrays - move to .npy files in the repo

Open coreylowman opened this issue 1 year ago • 1 comments

Unit tests should be easy to scan. large arrays make this almost impossible and add a lot of bloat.

Originally posted by @coreylowman in https://github.com/coreylowman/dfdx/pull/120#discussion_r929261072

coreylowman avatar Jul 26 '22 18:07 coreylowman

Downside of this is that it becomes unclear what is in the npy files & how they are produced. Ofc it is already unclear how the arrays are produced, so this is a bigger issue.

coreylowman avatar Aug 06 '22 15:08 coreylowman