From 80eecfbdaad689c52d5a6d370a322f3d6a6150e4 Mon Sep 17 00:00:00 2001 From: alexander Date: Tue, 6 Jul 2021 19:47:59 +0100 Subject: MLECO-1987: Minor refactoring. ASRSlidingWindow can be used in other use-cases, thus it was renamed to decouple from ASR. Signed-off-by: alexander Change-Id: I2df977e4f18f490a532e0f27e3625b153ca464d7 --- scripts/py/gen_test_data_cpp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/py') diff --git a/scripts/py/gen_test_data_cpp.py b/scripts/py/gen_test_data_cpp.py index 7cc5f11..ea4bd6f 100644 --- a/scripts/py/gen_test_data_cpp.py +++ b/scripts/py/gen_test_data_cpp.py @@ -137,7 +137,7 @@ def main(args): if ifm_size == -1: ifm_size = get_npy_vec_size(filename) elif ifm_size != get_npy_vec_size(filename): - raise Exeception(f"ifm size changed for index {idx}") + raise Exception(f"ifm size changed for index {idx}") # Save the fm cc file base_name = "ofm" + str(idx) @@ -149,7 +149,7 @@ def main(args): if ofm_size == -1: ofm_size = get_npy_vec_size(filename) elif ofm_size != get_npy_vec_size(filename): - raise Exeception(f"ofm size changed for index {idx}") + raise Exception(f"ofm size changed for index {idx}") common_cc_filepath = os.path.join(args.source_folder_path, common_cc_filename) write_hpp_file(header_filename, common_cc_filepath, args.license_template, -- cgit v1.2.1