MCPcopy Create free account
hub / github.com/BIT-DataLab/LakeBench / forward

Method forward

union/Tabert/index.py:45–50  ·  view source on GitHub ↗
(self, tp_table, tp_context, tn_table=None, tn_context=None)

Source from the content-addressed store, hash-verified

43 )
44
45 def forward(self, tp_table, tp_context, tn_table=None, tn_context=None):
46 context_encoding, column_encoding, info = self.Tmodel.encode(
47 contexts=[tp_context],
48 tables=[tp_table]
49 )
50 return column_encoding
51
52
53def build_dataset_predict(_tablePosList, _bertTokenizer, _tabertModel):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected