Skip to content

Commit

Permalink
Temporary adding a name for PerTensorQuantizer for backwards compatib…
Browse files Browse the repository at this point in the history
…ility
  • Loading branch information
quic-akhobare committed Jun 17, 2021
1 parent a368882 commit e5284d6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ def set_encoding(self, encoding: libpymo.TfEncoding):

# Temporary change to preserve backwards compatibility
PostTrainingTensorQuantizer = StaticGridTensorQuantizer
StaticGridPerTensorQuantizer = StaticGridTensorQuantizer


class QuantizeDequantize(torch.autograd.Function):
Expand Down

0 comments on commit e5284d6

Please sign in to comment.