MCPcopy Create free account
hub / github.com/IceClear/CLIP-IQA / deprecated_function

Function deprecated_function

mmedit/utils/misc.py:11–74  ·  view source on GitHub ↗

Marks functions as deprecated. Throw a warning when a deprecated function is called, and add a note in the docstring. Modified from https://github.com/pytorch/pytorch/blob/master/torch/onnx/_deprecation.py Args: since (str): The version when the function was first deprecated.

(since: str, removed_in: str,
                        instructions: str)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected