MCPcopy Create free account
hub / github.com/PaddlePaddle/Paddle / get

Method get

python/paddle/static/python_op.py:233–236  ·  view source on GitHub ↗
(self, name: str)

Source from the content-addressed store, hash-verified

231 return fn_pack
232
233 def get(self, name: str) -> OriginalFunctionPack[Any, Any]:
234 if name not in self._registry:
235 raise KeyError(f"Function '{name}' is not registered.")
236 return self._registry[name]
237
238
239FUNCTION_REGISTRY = FunctionRegistry()

Callers 12

normalize_programFunction · 0.45
serialize_programFunction · 0.45
serialize_persistablesFunction · 0.45
save_inference_modelFunction · 0.45
deserialize_persistablesFunction · 0.45
load_inference_modelFunction · 0.45
load_varsFunction · 0.45
dataFunction · 0.45
custom_hashFunction · 0.45
normalize_pir_programFunction · 0.45
save_inference_model_pirFunction · 0.45
load_inference_model_pirFunction · 0.45

Calls 1

KeyErrorClass · 0.85

Tested by

no test coverage detected