MCPcopy Create free account
hub / github.com/Project-MONAI/MONAI / _add_ngc_prefix

Function _add_ngc_prefix

monai/bundle/scripts.py:217–220  ·  view source on GitHub ↗
(name: str, prefix: str = "monai_")

Source from the content-addressed store, hash-verified

215
216
217def _add_ngc_prefix(name: str, prefix: str = "monai_") -> str:
218 if name.startswith(prefix):
219 return name
220 return f"{prefix}{name}"
221
222
223def _remove_ngc_prefix(name: str, prefix: str = "monai_") -> str:

Callers 4

_download_from_ngcFunction · 0.85
loadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…