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

Method dataset

rat-sql-gap/seq2struct/models/enc_dec.py:59–60  ·  view source on GitHub ↗
(self, section)

Source from the content-addressed store, hash-verified

57 self.dec_preproc.load()
58
59 def dataset(self, section):
60 return ZippedDataset(self.enc_preproc.dataset(section), self.dec_preproc.dataset(section))
61
62 def __init__(self, preproc, device, encoder, decoder):
63 super().__init__()

Callers 2

trainMethod · 0.45
inferMethod · 0.45

Calls 1

ZippedDatasetClass · 0.85

Tested by

no test coverage detected