Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/alibaba/bigcomputing
/ map_user
Method
map_user
DIEN/data_utils.py:90–91 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
88
return
int(self.item_dict.get(x, -1))
89
90
def
map_user(self, x):
91
return
int(self.user_dict.get(x, -1))
92
93
def
map_cate(self, x):
94
return
int(self.cate_dict.get(x, -1))
Callers
2
process2
Method · 0.95
process
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected