You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemml.apache.org by gw...@apache.org on 2016/09/20 05:45:16 UTC
incubator-systemml git commit: [HOTFIX] Add license headers for rat
check
Repository: incubator-systemml
Updated Branches:
refs/heads/master 3d523b851 -> c3c6bccf5
[HOTFIX] Add license headers for rat check
Project: http://git-wip-us.apache.org/repos/asf/incubator-systemml/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-systemml/commit/c3c6bccf
Tree: http://git-wip-us.apache.org/repos/asf/incubator-systemml/tree/c3c6bccf
Diff: http://git-wip-us.apache.org/repos/asf/incubator-systemml/diff/c3c6bccf
Branch: refs/heads/master
Commit: c3c6bccf5309a7e9e0c234bcdfcf6a681c0c7dbe
Parents: 3d523b8
Author: Glenn Weidner <gw...@us.ibm.com>
Authored: Mon Sep 19 22:43:07 2016 -0700
Committer: Glenn Weidner <gw...@us.ibm.com>
Committed: Mon Sep 19 22:43:07 2016 -0700
----------------------------------------------------------------------
.../apache/sysml/api/mlcontext/MultiScript1.dml | 21 ++++++++++++++++++++
.../apache/sysml/api/mlcontext/MultiScript2.dml | 21 ++++++++++++++++++++
.../sysml/api/mlcontext/MultiScript2b.dml | 21 ++++++++++++++++++++
.../apache/sysml/api/mlcontext/MultiScript3.dml | 21 ++++++++++++++++++++
.../sysml/api/mlcontext/MultiScript3b.dml | 21 ++++++++++++++++++++
5 files changed, 105 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/c3c6bccf/src/test/scripts/org/apache/sysml/api/mlcontext/MultiScript1.dml
----------------------------------------------------------------------
diff --git a/src/test/scripts/org/apache/sysml/api/mlcontext/MultiScript1.dml b/src/test/scripts/org/apache/sysml/api/mlcontext/MultiScript1.dml
index 8aeedb6..885ce58 100644
--- a/src/test/scripts/org/apache/sysml/api/mlcontext/MultiScript1.dml
+++ b/src/test/scripts/org/apache/sysml/api/mlcontext/MultiScript1.dml
@@ -1,2 +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.
+#
+#-------------------------------------------------------------
+
X = rand(rows=$rows, cols=$cols);
write(X, "out/X", format="binary");
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/c3c6bccf/src/test/scripts/org/apache/sysml/api/mlcontext/MultiScript2.dml
----------------------------------------------------------------------
diff --git a/src/test/scripts/org/apache/sysml/api/mlcontext/MultiScript2.dml b/src/test/scripts/org/apache/sysml/api/mlcontext/MultiScript2.dml
index 15d5e42..0997de9 100644
--- a/src/test/scripts/org/apache/sysml/api/mlcontext/MultiScript2.dml
+++ b/src/test/scripts/org/apache/sysml/api/mlcontext/MultiScript2.dml
@@ -1,3 +1,24 @@
+#-------------------------------------------------------------
+#
+# 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.
+#
+#-------------------------------------------------------------
+
Y = X^2 + X;
#cut to test cleanup X
http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/c3c6bccf/src/test/scripts/org/apache/sysml/api/mlcontext/MultiScript2b.dml
----------------------------------------------------------------------
diff --git a/src/test/scripts/org/apache/sysml/api/mlcontext/MultiScript2b.dml b/src/test/scripts/org/apache/sysml/api/mlcontext/MultiScript2b.dml
index db016d4..a0625d8 100644
--- a/src/test/scripts/org/apache/sysml/api/mlcontext/MultiScript2b.dml
+++ b/src/test/scripts/org/apache/sysml/api/mlcontext/MultiScript2b.dml
@@ -1,3 +1,24 @@
+#-------------------------------------------------------------
+#
+# 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.
+#
+#-------------------------------------------------------------
+
X = read("out/X", format="binary");
Y = X^2 + X;
http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/c3c6bccf/src/test/scripts/org/apache/sysml/api/mlcontext/MultiScript3.dml
----------------------------------------------------------------------
diff --git a/src/test/scripts/org/apache/sysml/api/mlcontext/MultiScript3.dml b/src/test/scripts/org/apache/sysml/api/mlcontext/MultiScript3.dml
index d9f0232..a31019a 100644
--- a/src/test/scripts/org/apache/sysml/api/mlcontext/MultiScript3.dml
+++ b/src/test/scripts/org/apache/sysml/api/mlcontext/MultiScript3.dml
@@ -1,2 +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.
+#
+#-------------------------------------------------------------
+
z = sum(X + Y);
write(z, "out/z");
http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/c3c6bccf/src/test/scripts/org/apache/sysml/api/mlcontext/MultiScript3b.dml
----------------------------------------------------------------------
diff --git a/src/test/scripts/org/apache/sysml/api/mlcontext/MultiScript3b.dml b/src/test/scripts/org/apache/sysml/api/mlcontext/MultiScript3b.dml
index 4178fa7..16797fb 100644
--- a/src/test/scripts/org/apache/sysml/api/mlcontext/MultiScript3b.dml
+++ b/src/test/scripts/org/apache/sysml/api/mlcontext/MultiScript3b.dml
@@ -1,3 +1,24 @@
+#-------------------------------------------------------------
+#
+# 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.
+#
+#-------------------------------------------------------------
+
X = read("out/X", format="binary");
Y = read("out/Y", format="binary");
z = sum(X + Y);