Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/bigcomputing
/ map_shop
Method
map_shop
DIEN/data_iterator.py:93–94 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
91
return
int(self.cate_dict.get(x, -1))
92
93
def
map_shop(self, x):
94
return
int(self.shop_dict.get(x, -1))
95
96
def
map_node(self, x):
97
return
int(self.node_dict.get(x, -1))
Callers
4
__init__
Method · 0.95
gen_item_block
Method · 0.95
gen_neg_hist
Method · 0.95
next
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected