Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/bigcomputing
/ map_user
Method
map_user
DIEN/data_iterator.py:87–88 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
85
return
int(self.item_dict.get(x, -1))
86
87
def
map_user(self, x):
88
return
int(self.user_dict.get(x, -1))
89
90
def
map_cate(self, x):
91
return
int(self.cate_dict.get(x, -1))
Callers
1
next
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected