Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/tutorials/Part 8 - Introduction to Plans.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -819,4 +819,4 @@
},
"nbformat": 4,
"nbformat_minor": 2
}
}
5 changes: 2 additions & 3 deletions syft/federated/plan.py
Original file line number Diff line number Diff line change
Expand Up @@ -624,9 +624,8 @@ def simplify(plan: "Plan") -> tuple:
tuple: a tuple holding the unique attributes of the Plan object

"""
readable_plan = sy.serde._simplify(plan.readable_plan)
return (
readable_plan,
plan.readable_plan, # We're not simplifying because readable_plan is already simplified
sy.serde._simplify(plan.id),
sy.serde._simplify(plan.arg_ids),
sy.serde._simplify(plan.result_ids),
Expand Down Expand Up @@ -656,7 +655,7 @@ def detail(worker: AbstractWorker, plan_tuple: tuple) -> "Plan":
id=id,
arg_ids=arg_ids,
result_ids=result_ids,
readable_plan=sy.serde._detail(worker, readable_plan),
readable_plan=readable_plan, # We're not detailing, see simplify() for details
is_built=is_built,
)

Expand Down