Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
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
281
def
args_to_dict(args, keys):
282
return
{k: getattr(args, k)
for
k in keys}
283
284
285
def
str2bool(v):
Callers
5
main
Function · 0.90
main
Function · 0.90
main
Function · 0.90
main
Function · 0.90
main
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected