Open gdementen opened 4 years ago
This a request by one of our users?
Whatever the answer is, I'm OK with this issue. I'm curious.
yes indeed 😄 Johan wants an easier way to save a few variables from the local scope to a file.
Session(arr1=arr1, arr2=arr2)
is indeed a bit cumbersome when you have many, so the best I could come up with is: arrays()['arr1', 'arr2'].save('path.h5')
but a filter while creating the session would be a bit more elegant.
So that we can have code like this:
instead of: