Skip to content

Commit

Permalink
Fix (QuantTensor): pixel_shuffle and unshuffle handler (#663)
Browse files Browse the repository at this point in the history
* Fix (QuantTensor): pixel_shuffle and unshuffle handler

* fixup
  • Loading branch information
volcacius authored Jul 13, 2023
1 parent b8a90af commit 17f15a6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/brevitas/quant_tensor/torch_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,9 @@ def interpolate_handler(

@implements(F.pixel_shuffle)
def pixel_shuffle_handler(*args, **kwargs):
return quant_invariant_handler(F.pixel_shuffle_handler, *args, **kwargs)
return quant_invariant_handler(F.pixel_shuffle, *args, **kwargs)


@implements(F.pixel_unshuffle)
def pixel_unshuffle_handler(*args, **kwargs):
return quant_invariant_handler(F.pixel_unshuffle, *args, **kwargs)

0 comments on commit 17f15a6

Please sign in to comment.