Skip to content

Commit 1d56e52

Browse files
alisonwhroman-janik-nxp
authored andcommitted
Add NXP copyright and BSD license
Signed-off-by: Alison Wang <[email protected]>
1 parent 37be39b commit 1d56e52

14 files changed

+71
-1
lines changed

backends/nxp/backend/ir/converter/builder/aten_model_builder_director.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2024-2025 NXP
2+
#
3+
# This source code is licensed under the BSD-style license found in the
4+
# LICENSE file in the root directory of this source tree.
5+
16
from torch.fx import Node
27
from torch.nn import Parameter
38

backends/nxp/tests/exported_program_vizualize.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2024-2025 NXP
2+
#
3+
# This source code is licensed under the BSD-style license found in the
4+
# LICENSE file in the root directory of this source tree.
5+
16
import random
27
import warnings
38

backends/nxp/tests/ir/converter/node_converter/test_avg_pool2d_converter.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2024-2025 NXP
2+
#
3+
# This source code is licensed under the BSD-style license found in the
4+
# LICENSE file in the root directory of this source tree.
5+
16
import numpy as np
27
import pytest
38
import torch
@@ -66,4 +71,4 @@ def test_avg_pool_2d_quant_conversion(mocker, input_shape, padding, count_includ
6671
input_data = (np.random.random(input_shape).astype(np.float32) * 50).astype(np.int8)
6772

6873
convert_run_compare(exported_program, tflite_input_preprocess=ToNHWCPreprocess(), tfl_model=tflite_flatbuffers_model,
69-
tflite_output_preprocess=ToNCHWPreprocess(), input_data=input_data)
74+
tflite_output_preprocess=ToNCHWPreprocess(), input_data=input_data)

backends/nxp/tests/ir/converter/node_converter/test_constant_pad_nd_converter.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2024-2025 NXP
2+
#
3+
# This source code is licensed under the BSD-style license found in the
4+
# LICENSE file in the root directory of this source tree.
5+
16
import numpy as np
27
import pytest
38
import torch

backends/nxp/tests/ir/converter/node_converter/test_conv_converter.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2024-2025 NXP
2+
#
3+
# This source code is licensed under the BSD-style license found in the
4+
# LICENSE file in the root directory of this source tree.
5+
16
import numpy as np
27
import pytest
38
import torch

backends/nxp/tests/ir/converter/node_converter/test_linear_converter.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2024-2025 NXP
2+
#
3+
# This source code is licensed under the BSD-style license found in the
4+
# LICENSE file in the root directory of this source tree.
5+
16
import numpy as np
27
import pytest
38
import torch

backends/nxp/tests/ir/converter/node_converter/test_max_pool_2d_converter.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2024-2025 NXP
2+
#
3+
# This source code is licensed under the BSD-style license found in the
4+
# LICENSE file in the root directory of this source tree.
5+
16
import numpy as np
27
import pytest
38
import torch

backends/nxp/tests/ir/converter/node_converter/test_permute_copy_converter.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2024-2025 NXP
2+
#
3+
# This source code is licensed under the BSD-style license found in the
4+
# LICENSE file in the root directory of this source tree.
5+
16
import numpy as np
27
import pytest
38
import torch

backends/nxp/tests/ir/converter/node_converter/test_relu_converter.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2024-2025 NXP
2+
#
3+
# This source code is licensed under the BSD-style license found in the
4+
# LICENSE file in the root directory of this source tree.
5+
16
import pytest
27
import numpy as np
38
import torch

backends/nxp/tests/ir/converter/node_converter/test_softmax_converter.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# Copyright 2024-2025 NXP
2+
#
3+
# This source code is licensed under the BSD-style license found in the
4+
# LICENSE file in the root directory of this source tree.
5+
16
import numpy as np
27
import pytest
38
import torch

0 commit comments

Comments
 (0)