File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -244,14 +244,14 @@ def format_map(m):
244
244
ext_inputs = [self .__node_id (x ) for x in node .inputs ]
245
245
int_inputs = [gf .__node_id (x ) for x in node .op .inner_inputs ]
246
246
assert len (ext_inputs ) == len (int_inputs )
247
- h = format_map (zip (ext_inputs , int_inputs ))
247
+ h = format_map (zip (ext_inputs , int_inputs , strict = True ))
248
248
pd_node .get_attributes ()["subg_map_inputs" ] = h
249
249
250
250
# Outputs mapping
251
251
ext_outputs = [self .__node_id (x ) for x in node .outputs ]
252
252
int_outputs = [gf .__node_id (x ) for x in node .op .inner_outputs ]
253
253
assert len (ext_outputs ) == len (int_outputs )
254
- h = format_map (zip (int_outputs , ext_outputs ))
254
+ h = format_map (zip (int_outputs , ext_outputs , strict = True ))
255
255
pd_node .get_attributes ()["subg_map_outputs" ] = h
256
256
257
257
return graph
You can’t perform that action at this time.
0 commit comments