Skip to content

Commit 6bf5fdd

Browse files
author
Hongshan Li
committed
added apache 2.0 license
1 parent ebaa8cf commit 6bf5fdd

File tree

4 files changed

+68
-0
lines changed

4 files changed

+68
-0
lines changed

frameworks/mxnet/code/inference.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
# coding=utf-8
2+
# Copyright (c) 2019 NVIDIA CORPORATION. All rights reserved.
3+
# Copyright 2018 The Google AI Language Team Authors and The HugginFace Inc. team.
4+
# Modifications Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
5+
6+
# Licensed under the Apache License, Version 2.0 (the "License");
7+
# you may not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
118
from __future__ import print_function
219

320
import logging

frameworks/mxnet/code/test_inference.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
# coding=utf-8
2+
# Copyright (c) 2019 NVIDIA CORPORATION. All rights reserved.
3+
# Copyright 2018 The Google AI Language Team Authors and The HugginFace Inc. team.
4+
# Modifications Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
5+
6+
# Licensed under the Apache License, Version 2.0 (the "License");
7+
# you may not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
118
from inference import transform_fn, model_fn
219
import os
320
import json

frameworks/mxnet/code/test_train.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
# coding=utf-8
2+
# Copyright (c) 2019 NVIDIA CORPORATION. All rights reserved.
3+
# Copyright 2018 The Google AI Language Team Authors and The HugginFace Inc. team.
4+
# Modifications Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
5+
6+
# Licensed under the Apache License, Version 2.0 (the "License");
7+
# you may not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
118
from train import train, parse_args
219

320
import sys

frameworks/mxnet/code/train.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,20 @@
1+
# coding=utf-8
2+
# Copyright (c) 2019 NVIDIA CORPORATION. All rights reserved.
3+
# Copyright 2018 The Google AI Language Team Authors and The HugginFace Inc. team.
4+
# Modifications Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
5+
6+
# Licensed under the Apache License, Version 2.0 (the "License");
7+
# you may not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
118
from __future__ import print_function
219

320
import argparse

0 commit comments

Comments
 (0)