You are viewing v1.2.1 version.
A newer version
v1.23.3 is available.
Optimization
IncOptimizer
class optimum.intel.IncOptimizer
< source >( model: typing.Union[transformers.modeling_utils.PreTrainedModel, torch.nn.modules.module.Module] quantizer: typing.Optional[neural_compressor.experimental.quantization.Quantization] = None pruner: typing.Optional[neural_compressor.experimental.pruning.Pruning] = None )