Skip to content

Commit ee763a7

Browse files
alisonwhroman-janik-nxp
authored andcommitted
Change LA_OPT_NXP_Software_License to BSD-3 and add Apache 2.0 license
Signed-off-by: Robert Kalmar <[email protected]>
1 parent 46d30bb commit ee763a7

File tree

98 files changed

+475
-394
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+475
-394
lines changed

backends/nxp/backend/ir/conversion_config.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
#
21
# Copyright 2024 NXP
32
#
4-
# License: LA_OPT_NXP_Software_License
5-
# See the LICENSE_LA_OPT_NXP_Software_License for more details.
6-
#
7-
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.
85

96
class ConversionConfig:
107

backends/nxp/backend/ir/conversion_context.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
#
21
# Copyright 2024 NXP
32
#
4-
# License: LA_OPT_NXP_Software_License
5-
# See the LICENSE_LA_OPT_NXP_Software_License for more details.
6-
#
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+
76
from torch import Node
87
from torch.nn import Parameter
98

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
#
21
# Copyright 2024 NXP
32
#
4-
# License: LA_OPT_NXP_Software_License
5-
# See the LICENSE_LA_OPT_NXP_Software_License for more details.
6-
#
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+
76
import abc
87

98
import numpy as np

backends/nxp/backend/ir/converter/node_converter.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1+
# Copyright 2024-2025 NXP
12
#
2-
# Copyright 2024 NXP
3-
#
4-
# License: LA_OPT_NXP_Software_License
5-
# See the LICENSE_LA_OPT_NXP_Software_License for more details.
6-
#
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+
76
from abc import ABC, abstractmethod
87
from enum import Enum
98
from typing import Collection
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
#
21
# Copyright 2024 NXP
32
#
4-
# License: LA_OPT_NXP_Software_License
5-
# See the LICENSE_LA_OPT_NXP_Software_License for more details.
6-
#
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.

backends/nxp/backend/ir/converter/node_converters/shared/recurrent_utils.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
#
21
# Copyright 2024 NXP
32
#
4-
# License: LA_OPT_NXP_Software_License
5-
# See the LICENSE_LA_OPT_NXP_Software_License for more details.
6-
#
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+
76
from executorch.backends.nxp.backend.ir.converter.tensor_utils import tensor_has_data
87
from executorch.backends.nxp.backend.ir.lib.tflite.ActivationFunctionType import ActivationFunctionType
98
from executorch.backends.nxp.backend.ir import logger

backends/nxp/backend/ir/converter/node_converters/shared/reduce_utils.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
#
21
# Copyright 2024-2025 NXP
32
#
4-
# License: LA_OPT_NXP_Software_License
5-
# See the LICENSE_LA_OPT_NXP_Software_License for more details.
6-
#
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.
75

86
import numpy as np
97

backends/nxp/backend/ir/converter/node_converters/shared/reshape_transposition.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
#
21
# Copyright 2023 NXP
32
#
4-
# License: LA_OPT_NXP_Software_License
5-
# See the LICENSE_LA_OPT_NXP_Software_License for more details.
6-
#
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.
75

86
from enum import Enum
97

backends/nxp/backend/ir/converter/quantization_utils.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
#
21
# Copyright 2023 NXP
32
#
4-
# License: LA_OPT_NXP_Software_License
5-
# See the LICENSE_LA_OPT_NXP_Software_License for more details.
6-
#
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+
76
import copy
87
from typing import Iterable, List, Optional
98

backends/nxp/backend/ir/converter/tensor_utils.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
#
21
# Copyright 2024 NXP
32
#
4-
# License: LA_OPT_NXP_Software_License
5-
# See the LICENSE_LA_OPT_NXP_Software_License for more details.
6-
#
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+
76
from typing import Optional
87

98
from executorch.backends.nxp.backend.ir import logger as logger

0 commit comments

Comments
 (0)