MCPcopy Create free account
hub / github.com/IntelligentSystemsLab/ST-EVCDP / __len__

Method __len__

functions.py:189–190  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

187 self.label_chg = torch.squeeze(label_chg, dim=1)
188
189 def __len__(self):
190 return len(self.occ)
191
192 def __getitem__(self, idx): # occ: batch, seq, node
193 # sampling

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected