Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
chenbohua3 committed Jul 26, 2021
1 parent 715a803 commit c9e048e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def __init__(self, model, config_list, optimizer=None):
self.bound_model.to(self.device)

def validate_config(self, model, config_list):
schema = CompressorSchema([{
schema = QuantizerSchema([{
Optional('quant_types'): Schema([lambda x: x in ['weight', 'output', 'input']]),
Optional('quant_bits'): Or(And(int, lambda n: n == 8), Schema({
Optional('weight'): And(int, lambda n: n == 8),
Expand Down

0 comments on commit c9e048e

Please sign in to comment.