Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apple/ml-4m
/ __init__
Method
__init__
fourm/data/modality_transforms.py:604–605 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
602
class
TokTransform(AbstractTransform):
603
604
def
__init__(self):
605
pass
606
607
def
load(self, path):
608
sample = np.load(path).astype(int)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected