Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions coremltools/optimize/coreml/_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -837,8 +837,8 @@ class OptimizationConfig:
* You can use ``coremltools.optimize.coreml.get_weights_metadata`` to get the name of the constants / op instances in the model.
"""
global_config: Optional[OpCompressorConfig] = field(default=None)
op_type_configs: Optional[OpCompressorConfig] = field(default=None)
op_name_configs: Optional[OpCompressorConfig] = field(default=None)
op_type_configs: Optional[Dict[str, OpCompressorConfig]] = field(default=None)
op_name_configs: Optional[Dict[str, OpCompressorConfig]] = field(default=None)

# The following two private attributes is aim for backward compatibility for ct.compression_utils implementation
# They need to be removed in the future once we deprecate ct.compression_utils
Expand Down