Skip to content

Commit

Permalink
Remove ROI check for Resize
Browse files Browse the repository at this point in the history
  • Loading branch information
klassen9 committed Jul 30, 2024
1 parent e21d543 commit d2ed4be
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/finn/transformation/fpgadataflow/convert_to_hw_layers.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,9 +307,6 @@ def apply(self, model):
"%s: Either scales or the target output size must "
"be specified. Specifying both is prohibited." % n.name
)
assert model.get_initializer(n.input[1]) is None, (
"%s: Defining the ROI is not supported" % n.name
)
if scales_exists:
# Scales input
scales = model.get_initializer(n.input[2])
Expand Down

0 comments on commit d2ed4be

Please sign in to comment.