:py:mod:`neural_compressor.strategy.utils` ========================================== .. py:module:: neural_compressor.strategy.utils .. autoapi-nested-parse:: Intel Neural Compressor Strategy Utils. Submodules ---------- .. toctree:: :titlesonly: :maxdepth: 1 tuning_sampler/index.rst tuning_space/index.rst tuning_structs/index.rst Package Contents ---------------- Classes ~~~~~~~ .. autoapisummary:: neural_compressor.strategy.utils.OpTuningConfig .. py:class:: OpTuningConfig(op_name, op_type, op_quant_mode, tuning_space, kwargs={}) Op tuning config. .. py:method:: get_state() Return the op tuning configuration. :returns: The op tuning state. :rtype: Dict .. py:method:: from_state(config: Dict) :classmethod: Create the tuning config from dict. :param config: A dict includes the tuning config.