Skip to content

Commit

Permalink
Fix (export):remove unused attribute in debug flow
Browse files Browse the repository at this point in the history
  • Loading branch information
Giuseppe5 committed Nov 26, 2023
1 parent 2d4ff9b commit 8cfa85a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/brevitas/export/onnx/debug.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,5 @@ def enable_debug(model, input_enabled=True, output_enabled=True, proxy_level=Fal
for name, module in model.named_modules():
if hasattr(module, "export_debug_name") and filter_fn(module):
module.export_debug_name = name
module.export_input_debug = input_enabled
module.export_output_debug = output_enabled
module.register_forward_hook(hook)
return hook

0 comments on commit 8cfa85a

Please sign in to comment.