diff --git a/vaip/python/onnx_tool/__init__.py b/vaip/python/onnx_tool/__init__.py index 2e36c48..2d772a0 100644 --- a/vaip/python/onnx_tool/__init__.py +++ b/vaip/python/onnx_tool/__init__.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. +## Licensed under the MIT License. ## import os import warnings diff --git a/vaip/python/onnx_tool/__main__.py b/vaip/python/onnx_tool/__main__.py index 342b953..b59d0a5 100644 --- a/vaip/python/onnx_tool/__main__.py +++ b/vaip/python/onnx_tool/__main__.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. +## Licensed under the MIT License. ## import argparse diff --git a/vaip/python/onnx_tool/fusion.py b/vaip/python/onnx_tool/fusion.py index 27d69e7..be04b60 100644 --- a/vaip/python/onnx_tool/fusion.py +++ b/vaip/python/onnx_tool/fusion.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. +## Licensed under the MIT License. ## import numpy import onnx.helper diff --git a/vaip/python/onnx_tool/graph.py b/vaip/python/onnx_tool/graph.py index faf476f..aac21e3 100644 --- a/vaip/python/onnx_tool/graph.py +++ b/vaip/python/onnx_tool/graph.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. +## Licensed under the MIT License. ## import copy import math diff --git a/vaip/python/onnx_tool/model.py b/vaip/python/onnx_tool/model.py index 277ccb9..8d617cb 100644 --- a/vaip/python/onnx_tool/model.py +++ b/vaip/python/onnx_tool/model.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. +## Licensed under the MIT License. ## import os import pathlib diff --git a/vaip/python/onnx_tool/node.py b/vaip/python/onnx_tool/node.py index 653c9ad..0d495e4 100644 --- a/vaip/python/onnx_tool/node.py +++ b/vaip/python/onnx_tool/node.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. +## Licensed under the MIT License. ## import numpy import onnx diff --git a/vaip/python/onnx_tool/quantization.py b/vaip/python/onnx_tool/quantization.py index dfbad1a..f7d79d4 100644 --- a/vaip/python/onnx_tool/quantization.py +++ b/vaip/python/onnx_tool/quantization.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. +## Licensed under the MIT License. ## import warnings diff --git a/vaip/python/onnx_tool/serialization.py b/vaip/python/onnx_tool/serialization.py index 62f9a65..d8da207 100644 --- a/vaip/python/onnx_tool/serialization.py +++ b/vaip/python/onnx_tool/serialization.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. +## Licensed under the MIT License. ## import numpy diff --git a/vaip/python/onnx_tool/tensor.py b/vaip/python/onnx_tool/tensor.py index 253e01d..784e678 100644 --- a/vaip/python/onnx_tool/tensor.py +++ b/vaip/python/onnx_tool/tensor.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. +## Licensed under the MIT License. ## import warnings diff --git a/vaip/python/onnx_tool/utils.py b/vaip/python/onnx_tool/utils.py index dba79e9..5c8d93c 100644 --- a/vaip/python/onnx_tool/utils.py +++ b/vaip/python/onnx_tool/utils.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. +## Licensed under the MIT License. ## import time import warnings diff --git a/vaip/python/voe/passes/__init__.py b/vaip/python/voe/passes/__init__.py index 3770c9c..9ec24ba 100644 --- a/vaip/python/voe/passes/__init__.py +++ b/vaip/python/voe/passes/__init__.py @@ -2,6 +2,8 @@ ## Copyright (C) 2022 Xilinx, Inc. ## Copyright (C) 2023 – 2024 Advanced Micro Devices, Inc. ## +## Licensed under the MIT License. +## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. ## You may obtain a copy of the License at diff --git a/vaip/python/voe/passes/add_transpose_reshape_transpose_reshape.py b/vaip/python/voe/passes/add_transpose_reshape_transpose_reshape.py index 0050334..bf92d00 100644 --- a/vaip/python/voe/passes/add_transpose_reshape_transpose_reshape.py +++ b/vaip/python/voe/passes/add_transpose_reshape_transpose_reshape.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2023 – 2024 Advanced Micro Devices, Inc. +## Licensed under the MIT License. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. diff --git a/vaip/python/voe/passes/cal_coeff_utils.py b/vaip/python/voe/passes/cal_coeff_utils.py index 7654c9d..38f2252 100644 --- a/vaip/python/voe/passes/cal_coeff_utils.py +++ b/vaip/python/voe/passes/cal_coeff_utils.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. +## Licensed under the MIT License. ## import numpy as np import sys diff --git a/vaip/python/voe/passes/const_fold_batchnorm_to_scale.py b/vaip/python/voe/passes/const_fold_batchnorm_to_scale.py index da6d8af..cea5a9c 100644 --- a/vaip/python/voe/passes/const_fold_batchnorm_to_scale.py +++ b/vaip/python/voe/passes/const_fold_batchnorm_to_scale.py @@ -1,6 +1,8 @@ ## ## Copyright (C) 2023 – 2024 Advanced Micro Devices, Inc. ## +## Licensed under the MIT License. +## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. ## You may obtain a copy of the License at diff --git a/vaip/python/voe/passes/convert_fixneuron.py b/vaip/python/voe/passes/convert_fixneuron.py index 163558f..a79a508 100644 --- a/vaip/python/voe/passes/convert_fixneuron.py +++ b/vaip/python/voe/passes/convert_fixneuron.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2023 – 2024 Advanced Micro Devices, Inc. +## Licensed under the MIT License. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. diff --git a/vaip/python/voe/passes/convert_softmax_to_hard_softmax.py b/vaip/python/voe/passes/convert_softmax_to_hard_softmax.py index 67563b1..c86b2ab 100644 --- a/vaip/python/voe/passes/convert_softmax_to_hard_softmax.py +++ b/vaip/python/voe/passes/convert_softmax_to_hard_softmax.py @@ -1,6 +1,7 @@ ## ## Copyright (C) 2022 Xilinx, Inc. ## Copyright (C) 2023 – 2024 Advanced Micro Devices, Inc. +## Licensed under the MIT License. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. diff --git a/vaip/python/voe/passes/convert_to_xir_op.py b/vaip/python/voe/passes/convert_to_xir_op.py index 6dadd3c..45bbad2 100644 --- a/vaip/python/voe/passes/convert_to_xir_op.py +++ b/vaip/python/voe/passes/convert_to_xir_op.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2023 – 2024 Advanced Micro Devices, Inc. +## Licensed under the MIT License. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. diff --git a/vaip/python/voe/passes/convert_transpose_add_fix_input_fix_input.py b/vaip/python/voe/passes/convert_transpose_add_fix_input_fix_input.py index 94819e9..98bccba 100644 --- a/vaip/python/voe/passes/convert_transpose_add_fix_input_fix_input.py +++ b/vaip/python/voe/passes/convert_transpose_add_fix_input_fix_input.py @@ -1,6 +1,7 @@ ## ## Copyright (C) 2022 Xilinx, Inc. ## Copyright (C) 2023 – 2024 Advanced Micro Devices, Inc. +## Licensed under the MIT License. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. diff --git a/vaip/python/voe/passes/convert_transpose_fix_input.py b/vaip/python/voe/passes/convert_transpose_fix_input.py index d80affa..348e32e 100644 --- a/vaip/python/voe/passes/convert_transpose_fix_input.py +++ b/vaip/python/voe/passes/convert_transpose_fix_input.py @@ -1,6 +1,7 @@ ## ## Copyright (C) 2022 Xilinx, Inc. ## Copyright (C) 2023 – 2024 Advanced Micro Devices, Inc. +## Licensed under the MIT License. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. diff --git a/vaip/python/voe/passes/convert_transpose_fix_pad_fix_input.py b/vaip/python/voe/passes/convert_transpose_fix_pad_fix_input.py index 346e3d3..a33686a 100644 --- a/vaip/python/voe/passes/convert_transpose_fix_pad_fix_input.py +++ b/vaip/python/voe/passes/convert_transpose_fix_pad_fix_input.py @@ -1,6 +1,7 @@ ## ## Copyright (C) 2022 Xilinx, Inc. ## Copyright (C) 2023 – 2024 Advanced Micro Devices, Inc. +## Licensed under the MIT License. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. diff --git a/vaip/python/voe/passes/dynamic_dispatch.py b/vaip/python/voe/passes/dynamic_dispatch.py index f804e47..e4279ce 100644 --- a/vaip/python/voe/passes/dynamic_dispatch.py +++ b/vaip/python/voe/passes/dynamic_dispatch.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2023 – 2024 Advanced Micro Devices, Inc. +## Licensed under the MIT License. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. diff --git a/vaip/python/voe/passes/dynamic_dispatch_2.py b/vaip/python/voe/passes/dynamic_dispatch_2.py index 679c0a8..26d6177 100644 --- a/vaip/python/voe/passes/dynamic_dispatch_2.py +++ b/vaip/python/voe/passes/dynamic_dispatch_2.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2023 – 2024 Advanced Micro Devices, Inc. +## Licensed under the MIT License. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. diff --git a/vaip/python/voe/passes/dynamic_dispatch_gen.py b/vaip/python/voe/passes/dynamic_dispatch_gen.py index c903e61..fe432d9 100644 --- a/vaip/python/voe/passes/dynamic_dispatch_gen.py +++ b/vaip/python/voe/passes/dynamic_dispatch_gen.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2023 – 2024 Advanced Micro Devices, Inc. +## Licensed under the MIT License. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. diff --git a/vaip/python/voe/passes/dynamic_dispatch_gen_2.py b/vaip/python/voe/passes/dynamic_dispatch_gen_2.py index 6e198be..e0d42c1 100644 --- a/vaip/python/voe/passes/dynamic_dispatch_gen_2.py +++ b/vaip/python/voe/passes/dynamic_dispatch_gen_2.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2023 – 2024 Advanced Micro Devices, Inc. +## Licensed under the MIT License. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. diff --git a/vaip/python/voe/passes/dynamic_dispatch_subgraphs.py b/vaip/python/voe/passes/dynamic_dispatch_subgraphs.py index 6ad81aa..55e1e36 100644 --- a/vaip/python/voe/passes/dynamic_dispatch_subgraphs.py +++ b/vaip/python/voe/passes/dynamic_dispatch_subgraphs.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. +## Licensed under the MIT License. ## patterns = { "QMHAGRPB": [ diff --git a/vaip/python/voe/passes/dynamic_dispatch_subgraphs_2.py b/vaip/python/voe/passes/dynamic_dispatch_subgraphs_2.py index 7460d27..4c3461d 100644 --- a/vaip/python/voe/passes/dynamic_dispatch_subgraphs_2.py +++ b/vaip/python/voe/passes/dynamic_dispatch_subgraphs_2.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2023 – 2024 Advanced Micro Devices, Inc. +## Licensed under the MIT License. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. diff --git a/vaip/python/voe/passes/dynamic_dispatch_subgraphs_3.py b/vaip/python/voe/passes/dynamic_dispatch_subgraphs_3.py index 2f21b9f..10ab49d 100644 --- a/vaip/python/voe/passes/dynamic_dispatch_subgraphs_3.py +++ b/vaip/python/voe/passes/dynamic_dispatch_subgraphs_3.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2023 – 2024 Advanced Micro Devices, Inc. +## Licensed under the MIT License. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. diff --git a/vaip/python/voe/passes/fuse.py b/vaip/python/voe/passes/fuse.py index da1d372..74ccdfa 100644 --- a/vaip/python/voe/passes/fuse.py +++ b/vaip/python/voe/passes/fuse.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. +## Licensed under the MIT License. ## import os import numpy as np diff --git a/vaip/python/voe/passes/fuse_GEMM.py b/vaip/python/voe/passes/fuse_GEMM.py index 4d800eb..49d6338 100644 --- a/vaip/python/voe/passes/fuse_GEMM.py +++ b/vaip/python/voe/passes/fuse_GEMM.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2023 – 2024 Advanced Micro Devices, Inc. +## Licensed under the MIT License. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. diff --git a/vaip/python/voe/passes/fuse_GEMM_qdq.py b/vaip/python/voe/passes/fuse_GEMM_qdq.py index 2f315be..486f21d 100755 --- a/vaip/python/voe/passes/fuse_GEMM_qdq.py +++ b/vaip/python/voe/passes/fuse_GEMM_qdq.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2023 – 2024 Advanced Micro Devices, Inc. +## Licensed under the MIT License. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. diff --git a/vaip/python/voe/passes/fuse_GMATMULINTEGER.py b/vaip/python/voe/passes/fuse_GMATMULINTEGER.py index 7ecd730..7e3954d 100644 --- a/vaip/python/voe/passes/fuse_GMATMULINTEGER.py +++ b/vaip/python/voe/passes/fuse_GMATMULINTEGER.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2023 – 2024 Advanced Micro Devices, Inc. +## Licensed under the MIT License. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. diff --git a/vaip/python/voe/passes/fuse_MATMUL.py b/vaip/python/voe/passes/fuse_MATMUL.py index 45e7452..16e6d7d 100644 --- a/vaip/python/voe/passes/fuse_MATMUL.py +++ b/vaip/python/voe/passes/fuse_MATMUL.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2023 – 2024 Advanced Micro Devices, Inc. +## Licensed under the MIT License. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. diff --git a/vaip/python/voe/passes/fuse_MATMULINTEGER.py b/vaip/python/voe/passes/fuse_MATMULINTEGER.py index eff52a3..dd9eefa 100644 --- a/vaip/python/voe/passes/fuse_MATMULINTEGER.py +++ b/vaip/python/voe/passes/fuse_MATMULINTEGER.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2023 – 2024 Advanced Micro Devices, Inc. +## Licensed under the MIT License. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. diff --git a/vaip/python/voe/passes/fuse_MATMULNBITS.py b/vaip/python/voe/passes/fuse_MATMULNBITS.py index 9e35aa5..f9130aa 100644 --- a/vaip/python/voe/passes/fuse_MATMULNBITS.py +++ b/vaip/python/voe/passes/fuse_MATMULNBITS.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2023 – 2024 Advanced Micro Devices, Inc. +## Licensed under the MIT License. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. diff --git a/vaip/python/voe/passes/fuse_NMS.py b/vaip/python/voe/passes/fuse_NMS.py index 54855b7..ab24e01 100644 --- a/vaip/python/voe/passes/fuse_NMS.py +++ b/vaip/python/voe/passes/fuse_NMS.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2023 – 2024 Advanced Micro Devices, Inc. +## Licensed under the MIT License. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. diff --git a/vaip/python/voe/passes/fuse_QDQ_MATMUL.py b/vaip/python/voe/passes/fuse_QDQ_MATMUL.py index 8b79ebc..0915817 100755 --- a/vaip/python/voe/passes/fuse_QDQ_MATMUL.py +++ b/vaip/python/voe/passes/fuse_QDQ_MATMUL.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2023 – 2024 Advanced Micro Devices, Inc. +## Licensed under the MIT License. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. diff --git a/vaip/python/voe/passes/fuse_QDQ_MATMUL_DYNAMIC.py b/vaip/python/voe/passes/fuse_QDQ_MATMUL_DYNAMIC.py index 24efe73..ca391f1 100644 --- a/vaip/python/voe/passes/fuse_QDQ_MATMUL_DYNAMIC.py +++ b/vaip/python/voe/passes/fuse_QDQ_MATMUL_DYNAMIC.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2023 – 2024 Advanced Micro Devices, Inc. +## Licensed under the MIT License. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. diff --git a/vaip/python/voe/passes/fuse_decode_filter_boxes.py b/vaip/python/voe/passes/fuse_decode_filter_boxes.py index d93d722..e652eff 100644 --- a/vaip/python/voe/passes/fuse_decode_filter_boxes.py +++ b/vaip/python/voe/passes/fuse_decode_filter_boxes.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2023 – 2024 Advanced Micro Devices, Inc. +## Licensed under the MIT License. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. diff --git a/vaip/python/voe/passes/fuse_resize_norm.py b/vaip/python/voe/passes/fuse_resize_norm.py index 873bfdf..a66f737 100644 --- a/vaip/python/voe/passes/fuse_resize_norm.py +++ b/vaip/python/voe/passes/fuse_resize_norm.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2023 – 2024 Advanced Micro Devices, Inc. +## Licensed under the MIT License. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. diff --git a/vaip/python/voe/passes/fuse_softmax.py b/vaip/python/voe/passes/fuse_softmax.py index 0c90788..e377bc2 100644 --- a/vaip/python/voe/passes/fuse_softmax.py +++ b/vaip/python/voe/passes/fuse_softmax.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2023 – 2024 Advanced Micro Devices, Inc. +## Licensed under the MIT License. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. diff --git a/vaip/python/voe/passes/fuse_topk.py b/vaip/python/voe/passes/fuse_topk.py index 77e251f..258507b 100644 --- a/vaip/python/voe/passes/fuse_topk.py +++ b/vaip/python/voe/passes/fuse_topk.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2023 – 2024 Advanced Micro Devices, Inc. +## Licensed under the MIT License. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. diff --git a/vaip/python/voe/passes/graph_label_example.py b/vaip/python/voe/passes/graph_label_example.py index 4e0159c..7ee0198 100644 --- a/vaip/python/voe/passes/graph_label_example.py +++ b/vaip/python/voe/passes/graph_label_example.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2023 – 2024 Advanced Micro Devices, Inc. +## Licensed under the MIT License. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. diff --git a/vaip/python/voe/passes/merge_mul.py b/vaip/python/voe/passes/merge_mul.py index 4671b9b..44a566f 100644 --- a/vaip/python/voe/passes/merge_mul.py +++ b/vaip/python/voe/passes/merge_mul.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2023 – 2024 Advanced Micro Devices, Inc. +## Licensed under the MIT License. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. diff --git a/vaip/python/voe/passes/mzdk5_patterns.py b/vaip/python/voe/passes/mzdk5_patterns.py index b8243a7..79ed930 100644 --- a/vaip/python/voe/passes/mzdk5_patterns.py +++ b/vaip/python/voe/passes/mzdk5_patterns.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2023 – 2024 Advanced Micro Devices, Inc. +## Licensed under the MIT License. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. diff --git a/vaip/python/voe/passes/onnx_graph.py b/vaip/python/voe/passes/onnx_graph.py index 50dbf49..156438b 100644 --- a/vaip/python/voe/passes/onnx_graph.py +++ b/vaip/python/voe/passes/onnx_graph.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. +## Licensed under the MIT License. ## import onnx diff --git a/vaip/python/voe/passes/onnx_graph_partitioner.py b/vaip/python/voe/passes/onnx_graph_partitioner.py index 63845a4..fc6d5f8 100644 --- a/vaip/python/voe/passes/onnx_graph_partitioner.py +++ b/vaip/python/voe/passes/onnx_graph_partitioner.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2023 – 2024 Advanced Micro Devices, Inc. +## Licensed under the MIT License. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. diff --git a/vaip/python/voe/passes/op_fusion.py b/vaip/python/voe/passes/op_fusion.py index f1b077c..9e86f46 100644 --- a/vaip/python/voe/passes/op_fusion.py +++ b/vaip/python/voe/passes/op_fusion.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. +## Licensed under the MIT License. ## import numpy diff --git a/vaip/python/voe/passes/op_fusion_index.py b/vaip/python/voe/passes/op_fusion_index.py index eed8a07..927d464 100644 --- a/vaip/python/voe/passes/op_fusion_index.py +++ b/vaip/python/voe/passes/op_fusion_index.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. +## Licensed under the MIT License. ## import numpy diff --git a/vaip/python/voe/passes/partitioner.py b/vaip/python/voe/passes/partitioner.py index be992a9..5333eb4 100644 --- a/vaip/python/voe/passes/partitioner.py +++ b/vaip/python/voe/passes/partitioner.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2023 – 2024 Advanced Micro Devices, Inc. +## Licensed under the MIT License. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. diff --git a/vaip/python/voe/passes/pattern_generate_rule.py b/vaip/python/voe/passes/pattern_generate_rule.py index 2b914c3..151ac0f 100644 --- a/vaip/python/voe/passes/pattern_generate_rule.py +++ b/vaip/python/voe/passes/pattern_generate_rule.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2023 – 2024 Advanced Micro Devices, Inc. +## Licensed under the MIT License. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. diff --git a/vaip/python/voe/passes/pss_pst_patterns.py b/vaip/python/voe/passes/pss_pst_patterns.py index a0219de..c06fc55 100644 --- a/vaip/python/voe/passes/pss_pst_patterns.py +++ b/vaip/python/voe/passes/pss_pst_patterns.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2023 – 2024 Advanced Micro Devices, Inc. +## Licensed under the MIT License. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. diff --git a/vaip/python/voe/passes/remove_fix_before_relu.py b/vaip/python/voe/passes/remove_fix_before_relu.py index e85fc5b..4558108 100644 --- a/vaip/python/voe/passes/remove_fix_before_relu.py +++ b/vaip/python/voe/passes/remove_fix_before_relu.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2023 – 2024 Advanced Micro Devices, Inc. +## Licensed under the MIT License. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. diff --git a/vaip/python/voe/passes/remove_reshape_fix.py b/vaip/python/voe/passes/remove_reshape_fix.py index de4021d..cf7ece2 100644 --- a/vaip/python/voe/passes/remove_reshape_fix.py +++ b/vaip/python/voe/passes/remove_reshape_fix.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2023 – 2024 Advanced Micro Devices, Inc. +## Licensed under the MIT License. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. diff --git a/vaip/python/voe/passes/try_fusion.py b/vaip/python/voe/passes/try_fusion.py index 3fe717d..42683b5 100644 --- a/vaip/python/voe/passes/try_fusion.py +++ b/vaip/python/voe/passes/try_fusion.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2023 – 2024 Advanced Micro Devices, Inc. +## Licensed under the MIT License. ## ## Licensed under the Apache License, Version 2.0 (the "License"); ## you may not use this file except in compliance with the License. diff --git a/vaip/python/voe/passes/tune_graph.py b/vaip/python/voe/passes/tune_graph.py index 1a89390..6640cd4 100644 --- a/vaip/python/voe/passes/tune_graph.py +++ b/vaip/python/voe/passes/tune_graph.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. +## Licensed under the MIT License. ## from . import onnx_graph as ogm diff --git a/vaip/python/voe/passes/utils.py b/vaip/python/voe/passes/utils.py index dc4cb59..94bea57 100644 --- a/vaip/python/voe/passes/utils.py +++ b/vaip/python/voe/passes/utils.py @@ -1,5 +1,6 @@ ## ## Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved. +## Licensed under the MIT License. ## import numpy as np from collections import OrderedDict