Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8CF4C200C28 for ; Mon, 13 Feb 2017 07:15:56 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 84AEE160B6E; Mon, 13 Feb 2017 06:15:56 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A4F2D160B6B for ; Mon, 13 Feb 2017 07:15:55 +0100 (CET) Received: (qmail 94577 invoked by uid 500); 13 Feb 2017 06:15:54 -0000 Mailing-List: contact dev-help@systemml.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@systemml.incubator.apache.org Delivered-To: mailing list dev@systemml.incubator.apache.org Received: (qmail 94560 invoked by uid 99); 13 Feb 2017 06:15:54 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Feb 2017 06:15:54 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 044971800B9 for ; Mon, 13 Feb 2017 06:15:54 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.581 X-Spam-Level: ** X-Spam-Status: No, score=2.581 tagged_above=-999 required=6.31 tests=[HTML_IMAGE_ONLY_24=1.282, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, TVD_FW_GRAPHIC_NAME_MID=0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id gBaH9j4gU50D for ; Mon, 13 Feb 2017 06:15:53 +0000 (UTC) Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id C6D915F3BF for ; Mon, 13 Feb 2017 06:15:52 +0000 (UTC) Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v1D6EYIL033639 for ; Mon, 13 Feb 2017 01:15:41 -0500 Received: from e19.ny.us.ibm.com (e19.ny.us.ibm.com [129.33.205.209]) by mx0b-001b2d01.pphosted.com with ESMTP id 28k4wxd387-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Mon, 13 Feb 2017 01:15:40 -0500 Received: from localhost by e19.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 13 Feb 2017 01:15:40 -0500 Received: from d01dlp02.pok.ibm.com (9.56.250.167) by e19.ny.us.ibm.com (146.89.104.206) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 13 Feb 2017 01:15:38 -0500 Received: from b01cxnp22035.gho.pok.ibm.com (b01cxnp22035.gho.pok.ibm.com [9.57.198.25]) by d01dlp02.pok.ibm.com (Postfix) with ESMTP id 4928B6E801D for ; Mon, 13 Feb 2017 01:15:09 -0500 (EST) Received: from b01ledav03.gho.pok.ibm.com (b01ledav003.gho.pok.ibm.com [9.57.199.108]) by b01cxnp22035.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id v1D6Fbx860227630 for ; Mon, 13 Feb 2017 06:15:37 GMT Received: from b01ledav03.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 4BF3CB204D for ; Mon, 13 Feb 2017 01:15:37 -0500 (EST) Received: from d50lp02.ny.us.ibm.com (unknown [146.89.104.208]) by b01ledav03.gho.pok.ibm.com (Postfix) with ESMTPS id 3674FB2046 for ; Mon, 13 Feb 2017 01:15:37 -0500 (EST) Received: from localhost by d50lp02.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 13 Feb 2017 01:15:37 -0500 Received: from smtp.notes.na.collabserv.com (192.155.248.82) by d50lp02.ny.us.ibm.com (158.87.18.21) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES128-GCM-SHA256 bits=128/128) Mon, 13 Feb 2017 01:15:35 -0500 Received: from localhost by smtp.notes.na.collabserv.com with smtp.notes.na.collabserv.com ESMTP for from ; Mon, 13 Feb 2017 06:15:34 -0000 Received: from us1a3-smtp03.a3.dal06.isc4sb.com (10.106.154.98) by smtp.notes.na.collabserv.com (10.106.227.105) with smtp.notes.na.collabserv.com ESMTP; Mon, 13 Feb 2017 06:15:33 -0000 Received: from us1a3-mail52.a3.dal06.isc4sb.com ([10.146.77.168]) by us1a3-smtp03.a3.dal06.isc4sb.com with ESMTP id 2017021306153195-46239 ; Mon, 13 Feb 2017 06:15:31 +0000 MIME-Version: 1.0 In-Reply-To: <39b71f78-2562-27c0-109b-1ab558d31b69@gmail.com> Subject: Re: Namespace handling w/ imports To: dev@systemml.incubator.apache.org From: "Glenn Weidner" Date: Sun, 12 Feb 2017 22:15:33 -0800 References: <39b71f78-2562-27c0-109b-1ab558d31b69@gmail.com> X-KeepSent: AAD36C3F:9491317C-002580C6:0019EF94; type=4; name=$KeepSent X-Mailer: IBM Notes Release 9.0.1FP5 SHF190 February 24, 2016 X-LLNOutbound: False X-Disclaimed: 62531 X-TNEFEvaluated: 1 Content-type: multipart/related; Boundary="0__=8FBB0A55DF8A69048f9e8a93df938690918c8FBB0A55DF8A6904" x-cbid: 17021306-0056-0000-0000-000002BE2542 X-IBM-SpamModules-Scores: BY=0; FL=0; FP=0; FZ=0; HX=0; KW=0; PH=0; SC=0.394815; ST=0; TS=0; UL=0; ISC=; MB=0.024365 X-IBM-SpamModules-Versions: BY=3.00006607; HX=3.00000240; KW=3.00000007; PH=3.00000004; SC=3.00000203; SDB=6.00821195; UDB=6.00401604; IPR=6.00598652; BA=6.00005133; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00014261; XFM=3.00000011; UTC=2017-02-13 06:15:34 X-IBM-AV-DETECTION: SAVI=unsuspicious REMOTE=unsuspicious XFE=unused X-IBM-AV-VERSION: SAVI=2017-02-12 22:03:02 - 6.00006298 x-cbparentid: 17021306-5102-0000-0000-00000F89F54B X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused X-TM-AS-GCONF: 00 X-Content-Scanned: Fidelis XPS MAILER X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00006607; HX=3.00000240; KW=3.00000007; PH=3.00000004; SC=3.00000203; SDB=6.00821195; UDB=6.00401604; IPR=6.00598652; BA=6.00005133; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00014261; XFM=3.00000011; UTC=2017-02-13 06:15:39 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused Message-Id: X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-02-13_03:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1612050000 definitions=main-1702130062 archived-at: Mon, 13 Feb 2017 06:15:56 -0000 --0__=8FBB0A55DF8A69048f9e8a93df938690918c8FBB0A55DF8A6904 Content-type: multipart/alternative; Boundary="1__=8FBB0A55DF8A69048f9e8a93df938690918c8FBB0A55DF8A6904" --1__=8FBB0A55DF8A69048f9e8a93df938690918c8FBB0A55DF8A6904 Content-Transfer-Encoding: quoted-printable Content-type: text/plain; charset=US-ASCII Use of source filenames instead of default namespace helped address various issues and tasks under https://issues.apache.org/jira/browse/SYSTEMML-590 that were encountered when creating the SystemML-NN script library. Unit tests were also added to cover different import scenarios. As I recall, function name conflicts could potentially occur between independent source files when global default namespace used. It also helped simplify calling dml-bodied functions when a file was imported by another. Thanks, Glenn From: Matthias Boehm To: dev@systemml.incubator.apache.org Date: 02/12/2017 12:30 AM Subject: Namespace handling w/ imports While debugging our mnist=5Flenet script, I encountered an issue with our namespace handling with imports. Here is the related function call graph (after inlining): ----FUNCTION CALL GRAPH ------MAIN PROGRAM --------.\mnist=5Flenet.dml::train ----------.\nn/layers/dropout.dml::forward ----------.\mnist=5Flenet.dml::predict but it should read as follows ----FUNCTION CALL GRAPH ------MAIN PROGRAM --------.defaultNS::train ----------dropout::forward ----------.defaultNS::predict The namespace handling was changed a while ago. So my question is: was there a necessity to encode the filenames in the namespace or is this just a bug? Regards, Matthias --1__=8FBB0A55DF8A69048f9e8a93df938690918c8FBB0A55DF8A6904 Content-Transfer-Encoding: quoted-printable Content-type: text/html; charset=US-ASCII Content-Disposition: inline

Use of source filenames instead of default namespace helped = address various issues and tasks under https://issues.apache.org/jira/browse/SYSTEMML-5= 90 that were encountered when creating the SystemML-NN script library. = Unit tests were also added to cover different import scenarios. As I reca= ll, function name conflicts could potentially occur between independent sou= rce files when global default namespace used. It also helped simplify call= ing dml-bodied functions when a file was imported by another.

Thanks= ,
Glenn


3D"InactiveMatthias= Boehm ---02/12/2017 12:30:35 AM---While debugging our mnist=5Flenet script= , I encountered an issue with our namespace handling with imp
From: M= atthias Boehm <mboehm7@googlemail.com>
To: dev@systemml.incubator.ap= ache.org
Date: <= font size=3D"2">02/12/2017 12:30 AM
Subject: Namespace handling w/ imports=





While debugging our mnist=5Flenet script, I = encountered an issue with our
namespace handling with imports. Here is = the related function call graph
(after inlining):

----FUNCTION C= ALL GRAPH
------MAIN PROGRAM
--------.\mnist=5Flenet.dml::train
--= --------.\nn/layers/dropout.dml::forward
----------.\mnist=5Flenet.dml::= predict

but it should read as follows

----FUNCTION CALL GRAPH=
------MAIN PROGRAM
--------.defaultNS::train
----------dropout::f= orward
----------.defaultNS::predict

The namespace handling was c= hanged a while ago. So my question is: was
there a necessity to encode = the filenames in the namespace or is this
just a bug?


Regard= s,
Matthias




--1__=8FBB0A55DF8A69048f9e8a93df938690918c8FBB0A55DF8A6904-- --0__=8FBB0A55DF8A69048f9e8a93df938690918c8FBB0A55DF8A6904--