Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CausalLearning/robust-unlearnable-examples
/ __init__
Method
__init__
utils/data.py:19–21 ·
view source on GitHub ↗
(self, x, y)
Source
from the content-addressed store, hash-verified
17
18
class
IndexedTensorDataset():
19
def
__init__(self, x, y):
20
self.x = x
21
self.y = y
22
23
def
__getitem__(self, idx):
24
x, y = self.x[idx], self.y[idx]
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected