MCPcopy Create free account
hub / github.com/apple/coremltools / decompress_weights

Function decompress_weights

coremltools/models/ml_program/compression_utils.py:107–112  ·  view source on GitHub ↗

``coremltools.compression_utils.decompress_weights`` is deprecated and will be removed in the future. Please use :py:class:`coremltools.optimize.coreml.decompress_weights`.

(mlmodel)

Source from the content-addressed store, hash-verified

105 obj_prefix="coremltools.compression_utils.",
106)
107def decompress_weights(mlmodel):
108 """
109 ``coremltools.compression_utils.decompress_weights`` is deprecated and will be removed in the future.
110 Please use :py:class:`coremltools.optimize.coreml.decompress_weights`.
111 """
112 return _decompress_weights(mlmodel)

Callers 1

Calls

no outgoing calls

Tested by 1