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

Method __len__

functions.py:137–138  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

135 self.label_chg = torch.squeeze(label_chg, dim=1)
136
137 def __len__(self):
138 return len(self.occ)
139
140 def __getitem__(self, idx): # occ: batch, seq, node
141 # Pseudo Sampling

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected