MCPcopy Create free account
hub / github.com/OpenGVLab/InternImage / add_prefix

Function add_prefix

segmentation/mmseg_custom/core/utils/misc.py:24–40  ·  view source on GitHub ↗

Add prefix for dict. Args: inputs (dict): The input dict with str keys. prefix (str): The prefix to add. Returns: dict: The dict with keys updated with ``prefix``.

(inputs, prefix)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls

no outgoing calls

Tested by

no test coverage detected