MCPcopy Create free account
hub / github.com/awslabs/gap-text2sql / ArgsDict

Class ArgsDict

rat-sql-gap/seq2struct/utils/saver.py:16–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14
15
16class ArgsDict(dict):
17
18 def __init__(self, **kwargs):
19 super(ArgsDict, self).__init__()
20 for key, value in kwargs.items():
21 self[key] = value
22 self.__dict__ = self
23
24
25def load_checkpoint(item_dict, model_dir, map_location=None, step=None):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected