We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 836b5bf commit 329b692Copy full SHA for 329b692
torchvision/prototype/models/_utils.py
@@ -106,12 +106,3 @@ def _ovewrite_value_param(param: Optional[V], new_value: V) -> V:
106
if param != new_value:
107
raise ValueError(f"The parameter '{param}' expected value {new_value} but got {param} instead.")
108
return new_value
109
-
110
111
-def set_docstring(doc):
112
- # basic decorator that sets the __doc__ attribute of a function
113
- def wrapper(f):
114
- f.__doc__ = doc
115
- return f
116
117
- return wrapper
0 commit comments