nedtaylor / athena

A Fortran-based feed-forward neural network library. Whilst this library currently has a focus on 3D convolutional neural networks (CNNs), it can handle most standard hidden layer forms of neural networks, with the plan to integrate more.
MIT License
18 stars 2 forks source link

Fix seed size #15

Closed nedtaylor closed 8 months ago

nedtaylor commented 8 months ago

In example/simple and src/lib/mod_random.f90, seed_size is assumed to be settable by code. This is not the case. Calling

call random_seed(size=seed_size) 

merely returns the size of the actual seed used by the implementation, it does not change it.

https://fortran-lang.discourse.group/t/new-release-of-athena-athena-1-2-4/7558/12?u=nedanator

nedtaylor commented 8 months ago

Resolved in commit 1e16674cfdcb0a0af6d967cd9b70e423ff1f3573