Click link above to switch version
neural_compressor.experimental.pruner_legacy.pattern_lock
Pattern lock pruner.
PatternLockPruner
Pattern lock pruner class.
model (object) – The original model (currently PyTorchModel instance).
local_config (Conf) – configs specific for this pruning instance.
global_config (Conf) – global configs which may be overwritten by local_config.