igorcantele / Internship

0 stars 0 forks source link

Model parameters overwritten with identical parameters #6

Closed Helveg closed 3 years ago

Helveg commented 3 years ago

Using CopyModel you have already set the default parameters of all leaky_i_f nodes to params. By passing in params again to the Create call you are overwriting this command with identical data and wasting memory. https://github.com/Igor10798/Internship/blob/9c8a19fcba446cb2e43bf0a8b77ce410f15c4c85/first_network/script.py#L27 https://github.com/Igor10798/Internship/blob/9c8a19fcba446cb2e43bf0a8b77ce410f15c4c85/first_network/script.py#L36