Skip to content

Commit

Permalink
Do not remap storage in fgraph_to_python
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonwillard committed Nov 10, 2022
1 parent d10eafa commit 3415ab0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions aesara/link/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -730,9 +730,9 @@ def fgraph_to_python(

if order is None:
order = fgraph.toposort()
input_storage, output_storage, storage_map = map_storage(
fgraph, order, input_storage, output_storage, storage_map
)

if input_storage is None or output_storage is None or storage_map is None:
input_storage, output_storage, storage_map = map_storage(fgraph, order)

unique_name = unique_name_generator([fgraph_name])

Expand Down

0 comments on commit 3415ab0

Please sign in to comment.