Created
July 5, 2017 03:46
-
-
Save MikeLing/503e4fe7b09f7f264ce0e30342ece688 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void CNeuralNetwork::set_seed(int32_t seed) | |
{ | |
m_rng->set_seed(seed); | |
for (int32_t i=0; i<m_num_layers; i++) | |
{ | |
get_layer(i)->set_seed(seed); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment