You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 5, 2024. It is now read-only.
We are currently adding the variables one at a time via:
names_to_variables = collections.OrderedDict()
for name in itertools.product(*[list(range(k)) for k in self.shape]):
names_to_variables[name] = nodes.Variable(self.num_states)
Dropping the Variable object to create a numpy array can be 100x faster
The text was updated successfully, but these errors were encountered:
antoine-dedieu
changed the title
Creating NDVariableArray
Creating NDVariableArray is slow
Apr 4, 2022
We are currently adding the variables one at a time via:
Dropping the
Variable
object to create a numpy array can be 100x fasterThe text was updated successfully, but these errors were encountered: