From eda8b5197568e1cf9edff2656e91fe2e3ef8d1bf Mon Sep 17 00:00:00 2001 From: Luka Macan Date: Sat, 27 Jan 2024 15:16:24 +0100 Subject: [PATCH] Fix formatting --- test/NnxTestClasses.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/test/NnxTestClasses.py b/test/NnxTestClasses.py index 90cfc71..a7aaa00 100644 --- a/test/NnxTestClasses.py +++ b/test/NnxTestClasses.py @@ -391,8 +391,16 @@ def generate(self, test_name: str, test: NnxTest): "bits": weight_bits, "offset": weight_offset, }, - "scale": {"bits": test.conf.scale_type._bits if test.conf.scale_type is not None else 0}, - "bias": {"bits": test.conf.bias_type._bits if test.conf.bias_type is not None else 0}, + "scale": { + "bits": test.conf.scale_type._bits + if test.conf.scale_type is not None + else 0 + }, + "bias": { + "bits": test.conf.bias_type._bits + if test.conf.bias_type is not None + else 0 + }, "padding": { "top": test.conf.padding.top, "bottom": test.conf.padding.bottom,