Skip to content

Commit b022b39

Browse files
committed
clean-up
1 parent 8299d9d commit b022b39

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

sparsebit/quantization/tools/calibration.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,8 @@ def feature_layerwise_calibration(self, device):
8282
for inp_node in node.all_input_nodes:
8383
inp_tensors = self.builder.storage.get_output(inp_node.target)
8484
for inp_tensor in inp_tensors:
85-
<<<<<<< HEAD
8685
if isinstance(inp_tensor, torch.Tensor):
8786
module.input_quantizer.update_observer(inp_tensor)
88-
=======
89-
module.input_quantizer.update_observer(inp_tensor)
90-
break #only take first input of operator into consideration
91-
>>>>>>> ac38fea... WIP
9287
module.input_quantizer.calc_qparams()
9388
module.input_quantizer.observer.data_cache.reset()
9489

0 commit comments

Comments
 (0)