MCPcopy Create free account
hub / github.com/LTH14/mar / __init__

Method __init__

util/loader.py:30–38  ·  view source on GitHub ↗
(
            self,
            root: str,
    )

Source from the content-addressed store, hash-verified

28
29class CachedFolder(datasets.DatasetFolder):
30 def __init__(
31 self,
32 root: str,
33 ):
34 super().__init__(
35 root,
36 loader=None,
37 extensions=(".npz",),
38 )
39
40 def __getitem__(self, index: int):
41 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected