MCPcopy Create free account
hub / github.com/DeepGraphLearning/S3F / __init__

Method __init__

s3f/dataset.py:73–77  ·  view source on GitHub ↗
(self, mutated_sequences, wild_type, surf_graph=None, transform=None)

Source from the content-addressed store, hash-verified

71class MutantDataset(torch_data.Dataset):
72
73 def __init__(self, mutated_sequences, wild_type, surf_graph=None, transform=None):
74 self.mutated_sequences = mutated_sequences
75 self.wild_type = wild_type
76 self.surf_graph = surf_graph
77 self.transform = transform
78
79 def __len__(self):
80 return len(self.mutated_sequences)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected