-
Notifications
You must be signed in to change notification settings - Fork 85
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
Whither test_network_sync? #57
Comments
Also, the |
Yes, I wouldn't worry about this one as it will likely go away. I suggest focusing on io, datasets, and activations. |
I looked at what |
@milancurcic perfect. Thanks. I'll submit a PR with the suggested test. |
@milancurcic It still might be that test_network_sync is unnecessary. Fortran 2018 provides an intrinsic subroutine: The GNU, Intel, and Cray compilers support |
Actually yet another way to view this is that the test is useful either way and in fact, the test should give the same result either way. How that result is produced is an implementation detail that can be considered separately. |
Yes, in other words, ensuring that the initial state of the network is valid across images. |
I have determined that with I recommend this approach for scalability reasons. I'll submit a PR with separate commits that add the test and replace the
|
Thanks @rouson. Any chance for this to work with GFortran 10? |
Most likely, yes. Certainly the current approach should work with GFortran 10. If |
Closing in favor of #78. |
After attempting to develop test_network_sync.f90 into a test that reports passing or failure and seeking some advice Tom Clune, who develops the pFUnit testing framework, I'm not confident there's a way to write a test that is both meaningful straightforward. Without doing extensive research myself, I have the sense is that the formula employed in the
randn
functions has been thoroughly studied and there's not much to test in its behavior beyond what is already known. @milancurcic if you have thoughts on a useful test, please let me know. Otherwise, I recommend removing the test, given that it currently just prints the generated samples without any form of check on the their statistical properties.The text was updated successfully, but these errors were encountered: