Skip to content

Commit

Permalink
Merge pull request #601 from rizar/verbose_scan_names
Browse files Browse the repository at this point in the history
Meaningful names to scan ops created in recurrent.py
  • Loading branch information
rizar committed Apr 29, 2015
2 parents 003b2d6 + 8b9a668 commit f57b8b3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion blocks/bricks/recurrent.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,9 @@ def scan_function(*args):
outputs_info=outputs_info,
non_sequences=list(contexts_given.values()),
n_steps=n_steps,
go_backwards=reverse)
go_backwards=reverse,
name='{}_{}_scan'.format(
brick.name, application.application_name))
result = pack(result)
if return_initial_states:
# Undo Subtensor
Expand Down

0 comments on commit f57b8b3

Please sign in to comment.