Skip to content

Commit

Permalink
Fix (export): shape propagation in debug flow
Browse files Browse the repository at this point in the history
  • Loading branch information
Giuseppe5 committed Nov 28, 2023
1 parent 2d4ff9b commit f0a8c4f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/brevitas/export/onnx/debug.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class DebugMarkerFunction(Function):
@staticmethod
def symbolic(g, input, export_debug_name):
ret = g.op('brevitas.onnx::DebugMarker', input, export_debug_name_s=export_debug_name)
ret.setType(input.type())
return ret

@staticmethod
Expand Down

0 comments on commit f0a8c4f

Please sign in to comment.