MCPcopy Create free account
hub / github.com/PKU-ASAL/Simulated-Data / __init__

Method __init__

src/Sysdig/Loader.py:5–8  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3import numpy as np
4class Loader(torch.utils.data.Dataset):
5 def __init__(self):
6 super(Loader, self).__init__()
7 self.dataset = ''
8 self.idx2processnum = []
9
10 def __len__(self):
11 return len(self.dataset)

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected