MCPcopy Index your code
hub / github.com/openai/improved-diffusion / args_to_dict

Function args_to_dict

improved_diffusion/script_util.py:281–282  ·  view source on GitHub ↗
(args, keys)

Source from the content-addressed store, hash-verified

279
280
281def args_to_dict(args, keys):
282 return {k: getattr(args, k) for k in keys}
283
284
285def str2bool(v):

Callers 5

mainFunction · 0.90
mainFunction · 0.90
mainFunction · 0.90
mainFunction · 0.90
mainFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected