Closed Helveg closed 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
CopyModel
leaky_i_f
params
Create
Using
CopyModel
you have already set the default parameters of allleaky_i_f
nodes toparams
. By passing inparams
again to theCreate
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