MCPcopy Create free account
hub / github.com/LetheSec/PLG-MI-Attack / Dict2Args

Class Dict2Args

utils.py:9–14  ·  view source on GitHub ↗

Dict-argparse object converter.

Source from the content-addressed store, hash-verified

7
8
9class Dict2Args(object):
10 """Dict-argparse object converter."""
11
12 def __init__(self, dict_args):
13 for key, value in dict_args.items():
14 setattr(self, key, value)
15
16
17def generate_images(gen, device, batch_size=64, dim_z=128, distribution=None,

Callers 1

resume_from_argsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected