Skip to content

Commit

Permalink
remove codes for debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
JiacongSun committed Nov 13, 2023
1 parent aff0de7 commit 47c2cf5
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions zigzag/classes/stages/SpatialMappingConversionStage.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,21 +220,12 @@ def convert_user_spatial_mapping(self, user_spatial_mapping):
layer=self.layer,
accelerator=self.accelerator,
)
try:
SpatialMapping(spatial_mapping_dict=spatial_mapping_dict, layer_node=self.layer), SpatialMapping(
spatial_mapping_dict=spatial_mapping_dict_int, layer_node=self.layer
)
except:
pass

try:
return SpatialMapping(
spatial_mapping_dict=spatial_mapping_dict, layer_node=self.layer
), SpatialMapping(
spatial_mapping_dict=spatial_mapping_dict_int, layer_node=self.layer
)
except:
pass
return SpatialMapping(
spatial_mapping_dict=spatial_mapping_dict, layer_node=self.layer
), SpatialMapping(
spatial_mapping_dict=spatial_mapping_dict_int, layer_node=self.layer
)

def generate_limited_user_spatial_mapping(
self,
Expand Down

0 comments on commit 47c2cf5

Please sign in to comment.