MCPcopy Create free account
hub / github.com/PaddlePaddle/FastDeploy / apply

Method apply

fastdeploy/model_executor/utils.py:209–210  ·  view source on GitHub ↗
(self, weight_name)

Source from the content-addressed store, hash-verified

207 return key
208
209 def apply(self, weight_name):
210 return self._map_name(weight_name)
211
212
213def remap_weight_keys(weights_iterator, mapper: dict, include_keys: Optional[List[str]] = None):

Callers 6

fnFunction · 0.45

Calls 1

_map_nameMethod · 0.95

Tested by

no test coverage detected