Repository: incubator-singa Updated Branches: refs/heads/master c5b454d1e -> c761dc858
SINGA-364 V1.2 Release Preparation Add license headers Project: http://git-wip-us.apache.org/repos/asf/incubator-singa/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-singa/commit/760df2f6 Tree: http://git-wip-us.apache.org/repos/asf/incubator-singa/tree/760df2f6 Diff: http://git-wip-us.apache.org/repos/asf/incubator-singa/diff/760df2f6 Branch: refs/heads/master Commit: 760df2f6dd080b7213d4d0a5e05c2473c56a2572 Parents: c5b454d Author: wang wei <[email protected]> Authored: Sun May 20 20:37:34 2018 +0700 Committer: wang wei <[email protected]> Committed: Sun May 20 20:42:08 2018 +0700 ---------------------------------------------------------------------- examples/autograd/mlp.py | 19 +++++++++++++++++++ examples/autograd/mnist_cnn.py | 19 +++++++++++++++++++ python/singa/autograd.py | 18 ++++++++++++++++++ tool/conda/cpu/meta.yaml | 20 ++++++++++++++++++++ tool/conda/gpu/meta.yaml | 19 +++++++++++++++++++ tool/conda/singa/meta.yaml | 19 +++++++++++++++++++ 6 files changed, 114 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/760df2f6/examples/autograd/mlp.py ---------------------------------------------------------------------- diff --git a/examples/autograd/mlp.py b/examples/autograd/mlp.py index 0e42d63..3910369 100644 --- a/examples/autograd/mlp.py +++ b/examples/autograd/mlp.py @@ -1,3 +1,22 @@ +# +# 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 tensor from singa.tensor import Tensor from singa import autograd http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/760df2f6/examples/autograd/mnist_cnn.py ---------------------------------------------------------------------- diff --git a/examples/autograd/mnist_cnn.py b/examples/autograd/mnist_cnn.py index 3ab8b62..7b72c75 100644 --- a/examples/autograd/mnist_cnn.py +++ b/examples/autograd/mnist_cnn.py @@ -1,3 +1,22 @@ +# +# 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. +# + import numpy as np import argparse import os http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/760df2f6/python/singa/autograd.py ---------------------------------------------------------------------- diff --git a/python/singa/autograd.py b/python/singa/autograd.py index fc438ab..83362e2 100644 --- a/python/singa/autograd.py +++ b/python/singa/autograd.py @@ -1,3 +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 __future__ import division http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/760df2f6/tool/conda/cpu/meta.yaml ---------------------------------------------------------------------- diff --git a/tool/conda/cpu/meta.yaml b/tool/conda/cpu/meta.yaml index d24e085..0c7a38d 100644 --- a/tool/conda/cpu/meta.yaml +++ b/tool/conda/cpu/meta.yaml @@ -1,3 +1,23 @@ +# +# 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: singa-cpu version: 1.1.1 http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/760df2f6/tool/conda/gpu/meta.yaml ---------------------------------------------------------------------- diff --git a/tool/conda/gpu/meta.yaml b/tool/conda/gpu/meta.yaml index 96435d5..7c1a9a5 100644 --- a/tool/conda/gpu/meta.yaml +++ b/tool/conda/gpu/meta.yaml @@ -1,3 +1,22 @@ +# +# 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: singa-gpu version: 1.1.1 http://git-wip-us.apache.org/repos/asf/incubator-singa/blob/760df2f6/tool/conda/singa/meta.yaml ---------------------------------------------------------------------- diff --git a/tool/conda/singa/meta.yaml b/tool/conda/singa/meta.yaml index de542cd..997341c 100644 --- a/tool/conda/singa/meta.yaml +++ b/tool/conda/singa/meta.yaml @@ -1,3 +1,22 @@ +# +# 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: singa version: "{{ GIT_DESCRIBE_TAG }}"
