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

Method __init__

rat-sql-gap/seq2struct/utils/saver.py:18–22  ·  view source on GitHub ↗
(self, **kwargs)

Source from the content-addressed store, hash-verified

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 1

__init__Method · 0.45

Tested by

no test coverage detected