From 3794dd03972d5ea5a3e56ee5c410b22cdb0dc944 Mon Sep 17 00:00:00 2001 From: icolbert Date: Wed, 11 Oct 2023 16:16:04 -0700 Subject: [PATCH] Pre-commit fixes --- src/brevitas_examples/bnn_pynq/models/resnet.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/brevitas_examples/bnn_pynq/models/resnet.py b/src/brevitas_examples/bnn_pynq/models/resnet.py index 309431d2f..24995c6b6 100644 --- a/src/brevitas_examples/bnn_pynq/models/resnet.py +++ b/src/brevitas_examples/bnn_pynq/models/resnet.py @@ -9,8 +9,8 @@ import brevitas.nn as qnn from brevitas.quant import Int8WeightPerChannelFloat from brevitas.quant import Int8WeightPerTensorFloat -from brevitas.quant import TruncTo8bit from brevitas.quant import IntBias +from brevitas.quant import TruncTo8bit from brevitas.quant_tensor import QuantTensor @@ -232,4 +232,4 @@ def quant_resnet18(cfg) -> QuantResNet: num_classes=num_classes, weight_bit_width=weight_bit_width, act_bit_width=act_bit_width) - return model \ No newline at end of file + return model