From cffc005d11341c6847a31483dc027a4d87ec2d84 Mon Sep 17 00:00:00 2001 From: tinyAdapter Date: Wed, 20 Nov 2024 19:02:04 +0800 Subject: [PATCH] fix: no Apache license --- doap/doap_SINGA.rdf | 30 ++++++++++--------- .../healthcare/Malaria_Detection/train_cnn.py | 17 +++++++++++ examples/malaria_cnn/train_cnn.py | 17 +++++++++++ .../internal/pg_extension/.cargo/config.toml | 17 +++++++++++ .../pg_extension/template/Cargo.pg11.toml | 17 +++++++++++ .../pg_extension/template/Cargo.pg14.toml | 17 +++++++++++ 6 files changed, 101 insertions(+), 14 deletions(-) diff --git a/doap/doap_SINGA.rdf b/doap/doap_SINGA.rdf index 1dc860784..e2920214e 100644 --- a/doap/doap_SINGA.rdf +++ b/doap/doap_SINGA.rdf @@ -1,18 +1,20 @@ diff --git a/examples/healthcare/Malaria_Detection/train_cnn.py b/examples/healthcare/Malaria_Detection/train_cnn.py index bfe810d4f..8357aaa9a 100644 --- a/examples/healthcare/Malaria_Detection/train_cnn.py +++ b/examples/healthcare/Malaria_Detection/train_cnn.py @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + from singa import singa_wrap as singa from singa import device from singa import tensor diff --git a/examples/malaria_cnn/train_cnn.py b/examples/malaria_cnn/train_cnn.py index bfe810d4f..8357aaa9a 100644 --- a/examples/malaria_cnn/train_cnn.py +++ b/examples/malaria_cnn/train_cnn.py @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + from singa import singa_wrap as singa from singa import device from singa import tensor diff --git a/examples/model_selection/Trails/internal/pg_extension/.cargo/config.toml b/examples/model_selection/Trails/internal/pg_extension/.cargo/config.toml index 9dd8fcf87..3549bd3f2 100644 --- a/examples/model_selection/Trails/internal/pg_extension/.cargo/config.toml +++ b/examples/model_selection/Trails/internal/pg_extension/.cargo/config.toml @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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 + +# http://www.apache.org/licenses/LICENSE-2.0 + +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + [target.'cfg(target_os="macos")'] # Postgres symbols won't be available until runtime rustflags = ["-Clink-arg=-Wl,-undefined,dynamic_lookup"] \ No newline at end of file diff --git a/examples/model_selection/Trails/internal/pg_extension/template/Cargo.pg11.toml b/examples/model_selection/Trails/internal/pg_extension/template/Cargo.pg11.toml index 02b15a456..691969fe3 100644 --- a/examples/model_selection/Trails/internal/pg_extension/template/Cargo.pg11.toml +++ b/examples/model_selection/Trails/internal/pg_extension/template/Cargo.pg11.toml @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + [package] name = "pg_extension" version = "0.1.0" diff --git a/examples/model_selection/Trails/internal/pg_extension/template/Cargo.pg14.toml b/examples/model_selection/Trails/internal/pg_extension/template/Cargo.pg14.toml index 667fa7536..331d7ac7e 100644 --- a/examples/model_selection/Trails/internal/pg_extension/template/Cargo.pg14.toml +++ b/examples/model_selection/Trails/internal/pg_extension/template/Cargo.pg14.toml @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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 +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + [package] name = "pg_extension" version = "0.1.0"