You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@singa.apache.org by zh...@apache.org on 2022/02/23 08:47:26 UTC

[singa] branch dev updated: add Apache license header for ClassDemo.py

This is an automated email from the ASF dual-hosted git repository.

zhaojing pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/singa.git


The following commit(s) were added to refs/heads/dev by this push:
     new 40d01e2  add Apache license header for ClassDemo.py
     new 638d1dd  Merge pull request #925 from wannature/singa_v2
40d01e2 is described below

commit 40d01e2e305317c181abb7e741cd0933a93a84fe
Author: wenqiao zhang <we...@zju.edu.cn>
AuthorDate: Wed Feb 23 14:39:38 2022 +0800

    add Apache license header for ClassDemo.py
---
 examples/demos/Classification/BloodMnist/ClassDemo.py | 19 ++++++++++++++++++-
 1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/examples/demos/Classification/BloodMnist/ClassDemo.py b/examples/demos/Classification/BloodMnist/ClassDemo.py
index bfc4fb8..71a0fa6 100644
--- a/examples/demos/Classification/BloodMnist/ClassDemo.py
+++ b/examples/demos/Classification/BloodMnist/ClassDemo.py
@@ -1,4 +1,21 @@
-# %%
+#
+# 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