Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/alibaba/bigcomputing
/ map_node
Method
map_node
DIEN/data_utils.py:99–100 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
97
return
int(self.shop_dict.get(x, -1))
98
99
def
map_node(self, x):
100
return
int(self.node_dict.get(x, -1))
101
102
def
map_product(self, x):
103
return
int(self.product_dict.get(x, -1))
Callers
6
__init__
Method · 0.95
gen_neg_hist
Method · 0.95
gen_neg_hist3
Method · 0.95
gen_neg_hist2
Method · 0.95
process2
Method · 0.95
process
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected