MCPcopy Index your code
hub / github.com/tensorpack/tensorpack / func_with_graph_arg

Function func_with_graph_arg

tensorpack/utils/argtools.py:51–53  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

49
50 @memoized
51 def func_with_graph_arg(*args, **kwargs):
52 kwargs.pop(GRAPH_ARG_NAME)
53 return func(*args, **kwargs)
54
55 @functools.wraps(func)
56 def wrapper(*args, **kwargs):

Callers 1

wrapperFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected