MCPcopy Create free account
hub / github.com/Mew233/pairwise / __init__

Method __init__

pairwise/dataloader.py:871–874  ·  view source on GitHub ↗
(self, trainval_df)

Source from the content-addressed store, hash-verified

869
870class MyDataset_pairwise(TensorDataset):
871 def __init__(self, trainval_df):
872 super(MyDataset_pairwise, self).__init__()
873 self.df = trainval_df
874 #self.df.reset_index(drop=True, inplace=True)
875 def __len__(self):
876 return len(self.df)
877

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected