Skip to content

Commit

Permalink
Update merlin/systems/workflow/base.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rjzamora authored Apr 24, 2024
1 parent dafab0f commit 8813645
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion merlin/systems/workflow/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ def __init__(self, workflow, output_dtypes, model_config, model_device):
# performance optimization)
self._initialize_ops(self.workflow.output_node, restrict=["Categorify"])

def _initialize_ops(self, workflow_node, visited=None, restrict=False):
def _initialize_ops(self, workflow_node, visited=None, restrict=None):
restrict = restrict or []

if visited is None:
visited = set()

Expand Down

0 comments on commit 8813645

Please sign in to comment.