[jira] [Commented] (SINGA-491) Code Cleaning with the Reference of LGTM Analysis Result
[ https://issues.apache.org/jira/browse/SINGA-491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16948107#comment-16948107 ] ASF subversion and git services commented on SINGA-491: --- Commit dd8934c33ed2acdd0a1de979a18094993c1c690b in incubator-singa's branch refs/heads/master from chrishkchris [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=dd8934c ] SINGA-491 Python Cleaning with LGTM > Code Cleaning with the Reference of LGTM Analysis Result > > > Key: SINGA-491 > URL: https://issues.apache.org/jira/browse/SINGA-491 > Project: Singa > Issue Type: Improvement > Components: Core >Reporter: YEUNG SAI HO >Priority: Major > Time Spent: 1h 40m > Remaining Estimate: 0h > > Code Cleaning with the Reference of LGTM Analysis Result > Since LGTM has been applied for our code analysis (see SINGA-484), I added > this JIRA ticket so I can also help cleaning the code. > At my first glance, the code cleaning according to many issues alerted by > LGTM seems to be not difficult for me. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SINGA-491) Code Cleaning with the Reference of LGTM Analysis Result
[ https://issues.apache.org/jira/browse/SINGA-491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16948106#comment-16948106 ] ASF subversion and git services commented on SINGA-491: --- Commit 6e64ac3b39f026d8a30ab3af0b651b2a12c41454 in incubator-singa's branch refs/heads/master from Chris Yeung [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=6e64ac3 ] SINGA-491 Comment out unused lines > Code Cleaning with the Reference of LGTM Analysis Result > > > Key: SINGA-491 > URL: https://issues.apache.org/jira/browse/SINGA-491 > Project: Singa > Issue Type: Improvement > Components: Core >Reporter: YEUNG SAI HO >Priority: Major > Time Spent: 1h 40m > Remaining Estimate: 0h > > Code Cleaning with the Reference of LGTM Analysis Result > Since LGTM has been applied for our code analysis (see SINGA-484), I added > this JIRA ticket so I can also help cleaning the code. > At my first glance, the code cleaning according to many issues alerted by > LGTM seems to be not difficult for me. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SINGA-491) Code Cleaning with the Reference of LGTM Analysis Result
[ https://issues.apache.org/jira/browse/SINGA-491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16948109#comment-16948109 ] ASF subversion and git services commented on SINGA-491: --- Commit e508feb5b3af7760821ec74ed924460eba5942c2 in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=e508feb ] Merge pull request #546 from chrishkchris/SINGA-491_4 SINGA-491 Remaining LGTM Python Code Cleaning > Code Cleaning with the Reference of LGTM Analysis Result > > > Key: SINGA-491 > URL: https://issues.apache.org/jira/browse/SINGA-491 > Project: Singa > Issue Type: Improvement > Components: Core >Reporter: YEUNG SAI HO >Priority: Major > Time Spent: 1h 40m > Remaining Estimate: 0h > > Code Cleaning with the Reference of LGTM Analysis Result > Since LGTM has been applied for our code analysis (see SINGA-484), I added > this JIRA ticket so I can also help cleaning the code. > At my first glance, the code cleaning according to many issues alerted by > LGTM seems to be not difficult for me. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SINGA-491) Code Cleaning with the Reference of LGTM Analysis Result
[ https://issues.apache.org/jira/browse/SINGA-491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16948108#comment-16948108 ] ASF subversion and git services commented on SINGA-491: --- Commit e508feb5b3af7760821ec74ed924460eba5942c2 in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=e508feb ] Merge pull request #546 from chrishkchris/SINGA-491_4 SINGA-491 Remaining LGTM Python Code Cleaning > Code Cleaning with the Reference of LGTM Analysis Result > > > Key: SINGA-491 > URL: https://issues.apache.org/jira/browse/SINGA-491 > Project: Singa > Issue Type: Improvement > Components: Core >Reporter: YEUNG SAI HO >Priority: Major > Time Spent: 1h 40m > Remaining Estimate: 0h > > Code Cleaning with the Reference of LGTM Analysis Result > Since LGTM has been applied for our code analysis (see SINGA-484), I added > this JIRA ticket so I can also help cleaning the code. > At my first glance, the code cleaning according to many issues alerted by > LGTM seems to be not difficult for me. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SINGA-493) Update news and website
[ https://issues.apache.org/jira/browse/SINGA-493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16944538#comment-16944538 ] ASF subversion and git services commented on SINGA-493: --- Commit 47982289d2944949b1d9381705fd6a2d2a6dfeb3 in incubator-singa's branch refs/heads/master from Chris Yeung [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=4798228 ] SINGA-493 Fix the path > Update news and website > --- > > Key: SINGA-493 > URL: https://issues.apache.org/jira/browse/SINGA-493 > Project: Singa > Issue Type: Improvement > Components: Documentation >Reporter: YEUNG SAI HO >Priority: Major > Time Spent: 40m > Remaining Estimate: 0h > > I add a JIRA ticket to update news of SINGA. There are two steps: > 1. PR to update the doc/en/index.rst (may modify or add related files) > 2. After the above mentioned PR in is merged, follow the steps in > http://singa.apache.org/en/develop/contribute-docs.html to submit PR for > updating the website -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SINGA-493) Update news and website
[ https://issues.apache.org/jira/browse/SINGA-493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16944540#comment-16944540 ] ASF subversion and git services commented on SINGA-493: --- Commit a997b3382e224cff81c21f1c5debf2fab4fba892 in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=a997b33 ] Merge pull request #544 from chrishkchris/SINGA-493 SINGA-493 Update news on SINGA tutorial > Update news and website > --- > > Key: SINGA-493 > URL: https://issues.apache.org/jira/browse/SINGA-493 > Project: Singa > Issue Type: Improvement > Components: Documentation >Reporter: YEUNG SAI HO >Priority: Major > Time Spent: 40m > Remaining Estimate: 0h > > I add a JIRA ticket to update news of SINGA. There are two steps: > 1. PR to update the doc/en/index.rst (may modify or add related files) > 2. After the above mentioned PR in is merged, follow the steps in > http://singa.apache.org/en/develop/contribute-docs.html to submit PR for > updating the website -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SINGA-493) Update news and website
[ https://issues.apache.org/jira/browse/SINGA-493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16944541#comment-16944541 ] ASF subversion and git services commented on SINGA-493: --- Commit a997b3382e224cff81c21f1c5debf2fab4fba892 in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=a997b33 ] Merge pull request #544 from chrishkchris/SINGA-493 SINGA-493 Update news on SINGA tutorial > Update news and website > --- > > Key: SINGA-493 > URL: https://issues.apache.org/jira/browse/SINGA-493 > Project: Singa > Issue Type: Improvement > Components: Documentation >Reporter: YEUNG SAI HO >Priority: Major > Time Spent: 40m > Remaining Estimate: 0h > > I add a JIRA ticket to update news of SINGA. There are two steps: > 1. PR to update the doc/en/index.rst (may modify or add related files) > 2. After the above mentioned PR in is merged, follow the steps in > http://singa.apache.org/en/develop/contribute-docs.html to submit PR for > updating the website -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SINGA-493) Update news and website
[ https://issues.apache.org/jira/browse/SINGA-493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16944539#comment-16944539 ] ASF subversion and git services commented on SINGA-493: --- Commit e39e24fca0275905b0e75f2933e058bc1d5b702e in incubator-singa's branch refs/heads/master from Chris Yeung [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=e39e24f ] SINGA-493 Fix a formatting error in reference > Update news and website > --- > > Key: SINGA-493 > URL: https://issues.apache.org/jira/browse/SINGA-493 > Project: Singa > Issue Type: Improvement > Components: Documentation >Reporter: YEUNG SAI HO >Priority: Major > Time Spent: 40m > Remaining Estimate: 0h > > I add a JIRA ticket to update news of SINGA. There are two steps: > 1. PR to update the doc/en/index.rst (may modify or add related files) > 2. After the above mentioned PR in is merged, follow the steps in > http://singa.apache.org/en/develop/contribute-docs.html to submit PR for > updating the website -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SINGA-493) Update news and website
[ https://issues.apache.org/jira/browse/SINGA-493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16944537#comment-16944537 ] ASF subversion and git services commented on SINGA-493: --- Commit 9bcbb4ee3e170b3a8c699a30b150c8363890f898 in incubator-singa's branch refs/heads/master from Chris Yeung [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=9bcbb4e ] SINGA-493 Update SINGA news: Tutorial at IMDA > Update news and website > --- > > Key: SINGA-493 > URL: https://issues.apache.org/jira/browse/SINGA-493 > Project: Singa > Issue Type: Improvement > Components: Documentation >Reporter: YEUNG SAI HO >Priority: Major > Time Spent: 40m > Remaining Estimate: 0h > > I add a JIRA ticket to update news of SINGA. There are two steps: > 1. PR to update the doc/en/index.rst (may modify or add related files) > 2. After the above mentioned PR in is merged, follow the steps in > http://singa.apache.org/en/develop/contribute-docs.html to submit PR for > updating the website -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SINGA-493) Update news and website
[ https://issues.apache.org/jira/browse/SINGA-493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16944536#comment-16944536 ] ASF subversion and git services commented on SINGA-493: --- Commit 737d609e7a0ee48f432673af829321c407f9dc09 in incubator-singa's branch refs/heads/master from Chris Yeung [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=737d609 ] SINGA-493 Upload SINGA Tutorial Snapshot > Update news and website > --- > > Key: SINGA-493 > URL: https://issues.apache.org/jira/browse/SINGA-493 > Project: Singa > Issue Type: Improvement > Components: Documentation >Reporter: YEUNG SAI HO >Priority: Major > Time Spent: 40m > Remaining Estimate: 0h > > I add a JIRA ticket to update news of SINGA. There are two steps: > 1. PR to update the doc/en/index.rst (may modify or add related files) > 2. After the above mentioned PR in is merged, follow the steps in > http://singa.apache.org/en/develop/contribute-docs.html to submit PR for > updating the website -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SINGA-491) Code Cleaning with the Reference of LGTM Analysis Result
[ https://issues.apache.org/jira/browse/SINGA-491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16944187#comment-16944187 ] ASF subversion and git services commented on SINGA-491: --- Commit acabafbfbec42a597037b245e194ce7d5167f10d in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=acabafb ] Merge pull request #543 from chrishkchris/SINGA-491_3 SINGA-491 Use const reference for CopyData and ResetLike from Tensor Input > Code Cleaning with the Reference of LGTM Analysis Result > > > Key: SINGA-491 > URL: https://issues.apache.org/jira/browse/SINGA-491 > Project: Singa > Issue Type: Improvement > Components: Core >Reporter: YEUNG SAI HO >Priority: Major > Time Spent: 1h 20m > Remaining Estimate: 0h > > Code Cleaning with the Reference of LGTM Analysis Result > Since LGTM has been applied for our code analysis (see SINGA-484), I added > this JIRA ticket so I can also help cleaning the code. > At my first glance, the code cleaning according to many issues alerted by > LGTM seems to be not difficult for me. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SINGA-491) Code Cleaning with the Reference of LGTM Analysis Result
[ https://issues.apache.org/jira/browse/SINGA-491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16944188#comment-16944188 ] ASF subversion and git services commented on SINGA-491: --- Commit acabafbfbec42a597037b245e194ce7d5167f10d in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=acabafb ] Merge pull request #543 from chrishkchris/SINGA-491_3 SINGA-491 Use const reference for CopyData and ResetLike from Tensor Input > Code Cleaning with the Reference of LGTM Analysis Result > > > Key: SINGA-491 > URL: https://issues.apache.org/jira/browse/SINGA-491 > Project: Singa > Issue Type: Improvement > Components: Core >Reporter: YEUNG SAI HO >Priority: Major > Time Spent: 1h 20m > Remaining Estimate: 0h > > Code Cleaning with the Reference of LGTM Analysis Result > Since LGTM has been applied for our code analysis (see SINGA-484), I added > this JIRA ticket so I can also help cleaning the code. > At my first glance, the code cleaning according to many issues alerted by > LGTM seems to be not difficult for me. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SINGA-492) add Food(lg) news in the documentation
[ https://issues.apache.org/jira/browse/SINGA-492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16944185#comment-16944185 ] ASF subversion and git services commented on SINGA-492: --- Commit 663789148380c52147363b9aec7eaaaeaaf4665a in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=6637891 ] Merge pull request #542 from lzjpaul/19-10-3-foodlg SINGA-492 add Food(lg) news in the documentation > add Food(lg) news in the documentation > -- > > Key: SINGA-492 > URL: https://issues.apache.org/jira/browse/SINGA-492 > Project: Singa > Issue Type: New Feature >Reporter: Luo Zhaojing >Priority: Minor > Time Spent: 20m > Remaining Estimate: 0h > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SINGA-492) add Food(lg) news in the documentation
[ https://issues.apache.org/jira/browse/SINGA-492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16944184#comment-16944184 ] ASF subversion and git services commented on SINGA-492: --- Commit aa83319df00476a576bd3c8602f11eb63dbf52e4 in incubator-singa's branch refs/heads/master from zhaojing [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=aa83319 ] SINGA-492 add Food(lg) news in the documentation -add Food(lg) news in the SINGA homepage > add Food(lg) news in the documentation > -- > > Key: SINGA-492 > URL: https://issues.apache.org/jira/browse/SINGA-492 > Project: Singa > Issue Type: New Feature >Reporter: Luo Zhaojing >Priority: Minor > Time Spent: 20m > Remaining Estimate: 0h > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SINGA-491) Code Cleaning with the Reference of LGTM Analysis Result
[ https://issues.apache.org/jira/browse/SINGA-491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16942441#comment-16942441 ] ASF subversion and git services commented on SINGA-491: --- Commit 810f0a8873e1a245aa6b7ef05a7873e4926a58dc in incubator-singa's branch refs/heads/master from chrishkchris [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=810f0a8 ] SINGA-491 Python Code Cleaning > Code Cleaning with the Reference of LGTM Analysis Result > > > Key: SINGA-491 > URL: https://issues.apache.org/jira/browse/SINGA-491 > Project: Singa > Issue Type: Improvement > Components: Core >Reporter: YEUNG SAI HO >Priority: Major > Time Spent: 1h > Remaining Estimate: 0h > > Code Cleaning with the Reference of LGTM Analysis Result > Since LGTM has been applied for our code analysis (see SINGA-484), I added > this JIRA ticket so I can also help cleaning the code. > At my first glance, the code cleaning according to many issues alerted by > LGTM seems to be not difficult for me. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SINGA-491) Code Cleaning with the Reference of LGTM Analysis Result
[ https://issues.apache.org/jira/browse/SINGA-491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16942443#comment-16942443 ] ASF subversion and git services commented on SINGA-491: --- Commit 7172b5b30db567fc3350d97b7d680f66989e3c4d in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=7172b5b ] Merge pull request #539 from chrishkchris/SINGA-491_2 SINGA-491 Python Code Cleaning > Code Cleaning with the Reference of LGTM Analysis Result > > > Key: SINGA-491 > URL: https://issues.apache.org/jira/browse/SINGA-491 > Project: Singa > Issue Type: Improvement > Components: Core >Reporter: YEUNG SAI HO >Priority: Major > Time Spent: 1h > Remaining Estimate: 0h > > Code Cleaning with the Reference of LGTM Analysis Result > Since LGTM has been applied for our code analysis (see SINGA-484), I added > this JIRA ticket so I can also help cleaning the code. > At my first glance, the code cleaning according to many issues alerted by > LGTM seems to be not difficult for me. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SINGA-488) Travis CI always build from Apache master branch
[ https://issues.apache.org/jira/browse/SINGA-488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16939089#comment-16939089 ] ASF subversion and git services commented on SINGA-488: --- Commit 9ff051c862389ab65e38c6efa5e16bb215ee16af in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=9ff051c ] Merge pull request #537 from chrishkchris/SINGA-488 SINGA-488 Change the path of source code for CI > Travis CI always build from Apache master branch > > > Key: SINGA-488 > URL: https://issues.apache.org/jira/browse/SINGA-488 > Project: Singa > Issue Type: Bug >Reporter: Moaz Reyad >Priority: Blocker > Time Spent: 20m > Remaining Estimate: 0h > > It seems that the Travis build always use the master branch from > github.com/apache/incubator-singa.git instead of building the pull request. > When checking the job log of Travis, I found it reads from github two times: > 1. In the first time, it reads the correct pull request: (for example Pull > Request 532) > {code:bash} > git clone --depth=50 https://github.com/apache/incubator-singa.git > apache/incubator-singa > ... > git fetch origin +refs/pull/532/merge: > git checkout -qf FETCH_HEAD > {code} > 2. Then it ignores this correctly fetched code, and does another git clone > from the conda build script: > {code:bash} > Cloning into bare repository > '/home/travis/conda-bld-1594.2/git_cache/github.com/apache/incubator-singa.git'... > ... > Your branch is up to date with 'origin/master'. > {code} > This means that it always builds the master branch instead of building the > pull request. So it has two problems: > # Missed alarms: if the master branch builds successfully, this will be > shown as if the pull request is fine and can be merged. While the pull > request code was actually never built. > # False alarms: if the master branch does not build successfully, this will > be shown as if the pull request has a problem, even if the problem is > actually in the master branch not in the pull request. > If this issue is correct, then this is a blocker issue and I suggest to > resolve it before creating or merging any pull request. Because the > continuous integration tools that is supposed to test the pull requests is > not working correctly. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SINGA-488) Travis CI always build from Apache master branch
[ https://issues.apache.org/jira/browse/SINGA-488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16939090#comment-16939090 ] ASF subversion and git services commented on SINGA-488: --- Commit 9ff051c862389ab65e38c6efa5e16bb215ee16af in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=9ff051c ] Merge pull request #537 from chrishkchris/SINGA-488 SINGA-488 Change the path of source code for CI > Travis CI always build from Apache master branch > > > Key: SINGA-488 > URL: https://issues.apache.org/jira/browse/SINGA-488 > Project: Singa > Issue Type: Bug >Reporter: Moaz Reyad >Priority: Blocker > Time Spent: 20m > Remaining Estimate: 0h > > It seems that the Travis build always use the master branch from > github.com/apache/incubator-singa.git instead of building the pull request. > When checking the job log of Travis, I found it reads from github two times: > 1. In the first time, it reads the correct pull request: (for example Pull > Request 532) > {code:bash} > git clone --depth=50 https://github.com/apache/incubator-singa.git > apache/incubator-singa > ... > git fetch origin +refs/pull/532/merge: > git checkout -qf FETCH_HEAD > {code} > 2. Then it ignores this correctly fetched code, and does another git clone > from the conda build script: > {code:bash} > Cloning into bare repository > '/home/travis/conda-bld-1594.2/git_cache/github.com/apache/incubator-singa.git'... > ... > Your branch is up to date with 'origin/master'. > {code} > This means that it always builds the master branch instead of building the > pull request. So it has two problems: > # Missed alarms: if the master branch builds successfully, this will be > shown as if the pull request is fine and can be merged. While the pull > request code was actually never built. > # False alarms: if the master branch does not build successfully, this will > be shown as if the pull request has a problem, even if the problem is > actually in the master branch not in the pull request. > If this issue is correct, then this is a blocker issue and I suggest to > resolve it before creating or merging any pull request. Because the > continuous integration tools that is supposed to test the pull requests is > not working correctly. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SINGA-488) Travis CI always build from Apache master branch
[ https://issues.apache.org/jira/browse/SINGA-488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16939088#comment-16939088 ] ASF subversion and git services commented on SINGA-488: --- Commit b1475fc722a780e6fa1aecb3b2bb197377e9686d in incubator-singa's branch refs/heads/master from Chris Yeung [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=b1475fc ] SINGA-488 Change the path of source code for CI > Travis CI always build from Apache master branch > > > Key: SINGA-488 > URL: https://issues.apache.org/jira/browse/SINGA-488 > Project: Singa > Issue Type: Bug >Reporter: Moaz Reyad >Priority: Blocker > Time Spent: 20m > Remaining Estimate: 0h > > It seems that the Travis build always use the master branch from > github.com/apache/incubator-singa.git instead of building the pull request. > When checking the job log of Travis, I found it reads from github two times: > 1. In the first time, it reads the correct pull request: (for example Pull > Request 532) > {code:bash} > git clone --depth=50 https://github.com/apache/incubator-singa.git > apache/incubator-singa > ... > git fetch origin +refs/pull/532/merge: > git checkout -qf FETCH_HEAD > {code} > 2. Then it ignores this correctly fetched code, and does another git clone > from the conda build script: > {code:bash} > Cloning into bare repository > '/home/travis/conda-bld-1594.2/git_cache/github.com/apache/incubator-singa.git'... > ... > Your branch is up to date with 'origin/master'. > {code} > This means that it always builds the master branch instead of building the > pull request. So it has two problems: > # Missed alarms: if the master branch builds successfully, this will be > shown as if the pull request is fine and can be merged. While the pull > request code was actually never built. > # False alarms: if the master branch does not build successfully, this will > be shown as if the pull request has a problem, even if the problem is > actually in the master branch not in the pull request. > If this issue is correct, then this is a blocker issue and I suggest to > resolve it before creating or merging any pull request. Because the > continuous integration tools that is supposed to test the pull requests is > not working correctly. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SINGA-491) Code Cleaning with the Reference of LGTM Analysis Result
[ https://issues.apache.org/jira/browse/SINGA-491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16937327#comment-16937327 ] ASF subversion and git services commented on SINGA-491: --- Commit a44f854d6b60e46661cdcc0771a36fb7a9bc6214 in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=a44f854 ] Merge pull request #536 from chrishkchris/SINGA-491 SINGA-491 Code Cleaning with the Reference of LGTM Analysis Result > Code Cleaning with the Reference of LGTM Analysis Result > > > Key: SINGA-491 > URL: https://issues.apache.org/jira/browse/SINGA-491 > Project: Singa > Issue Type: Improvement > Components: Core >Reporter: YEUNG SAI HO >Priority: Major > Time Spent: 40m > Remaining Estimate: 0h > > Code Cleaning with the Reference of LGTM Analysis Result > Since LGTM has been applied for our code analysis (see SINGA-484), I added > this JIRA ticket so I can also help cleaning the code. > At my first glance, the code cleaning according to many issues alerted by > LGTM seems to be not difficult for me. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SINGA-491) Code Cleaning with the Reference of LGTM Analysis Result
[ https://issues.apache.org/jira/browse/SINGA-491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16937328#comment-16937328 ] ASF subversion and git services commented on SINGA-491: --- Commit a44f854d6b60e46661cdcc0771a36fb7a9bc6214 in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=a44f854 ] Merge pull request #536 from chrishkchris/SINGA-491 SINGA-491 Code Cleaning with the Reference of LGTM Analysis Result > Code Cleaning with the Reference of LGTM Analysis Result > > > Key: SINGA-491 > URL: https://issues.apache.org/jira/browse/SINGA-491 > Project: Singa > Issue Type: Improvement > Components: Core >Reporter: YEUNG SAI HO >Priority: Major > Time Spent: 40m > Remaining Estimate: 0h > > Code Cleaning with the Reference of LGTM Analysis Result > Since LGTM has been applied for our code analysis (see SINGA-484), I added > this JIRA ticket so I can also help cleaning the code. > At my first glance, the code cleaning according to many issues alerted by > LGTM seems to be not difficult for me. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SINGA-491) Code Cleaning with the Reference of LGTM Analysis Result
[ https://issues.apache.org/jira/browse/SINGA-491?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16937326#comment-16937326 ] ASF subversion and git services commented on SINGA-491: --- Commit 48836ce0923ed1e96b1d459603b7a7f9d0cf95a0 in incubator-singa's branch refs/heads/master from chrishkchris [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=48836ce ] SINGA-491 Code Cleaning with LGTM > Code Cleaning with the Reference of LGTM Analysis Result > > > Key: SINGA-491 > URL: https://issues.apache.org/jira/browse/SINGA-491 > Project: Singa > Issue Type: Improvement > Components: Core >Reporter: YEUNG SAI HO >Priority: Major > Time Spent: 40m > Remaining Estimate: 0h > > Code Cleaning with the Reference of LGTM Analysis Result > Since LGTM has been applied for our code analysis (see SINGA-484), I added > this JIRA ticket so I can also help cleaning the code. > At my first glance, the code cleaning according to many issues alerted by > LGTM seems to be not difficult for me. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SINGA-484) Code analysis with LGTM
[ https://issues.apache.org/jira/browse/SINGA-484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16933992#comment-16933992 ] ASF subversion and git services commented on SINGA-484: --- Commit e31f0f5f24686a92beeb3fde8789e0c5990201b8 in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=e31f0f5 ] Merge pull request #529 from moazreyad/SINGA-484 SINGA-484 Code analysis with LGTM > Code analysis with LGTM > --- > > Key: SINGA-484 > URL: https://issues.apache.org/jira/browse/SINGA-484 > Project: Singa > Issue Type: Improvement >Reporter: Moaz Reyad >Priority: Major > Time Spent: 40m > Remaining Estimate: 0h > > As the code of SINGA is growing, we need to keep the code quality higher to > avoid bugs or security issues. > [LGTM|https://lgtm.com/] is a free tool for continuous security analysis. > At the time of creating this issue, the quality of SINGA's C++ and Python > code are both at [grade|https://lgtm.com/help/lgtm/project-scoring-grading] D > (between A+ and E, this is a low grade). > There are some [alerts for > SINGA|https://lgtm.com/projects/g/apache/incubator-singa/alerts/?mode=list] > that should be fixed. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SINGA-484) Code analysis with LGTM
[ https://issues.apache.org/jira/browse/SINGA-484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16933989#comment-16933989 ] ASF subversion and git services commented on SINGA-484: --- Commit 6f8bf57df515cb5e3aebad1bcfefadc3d702bc45 in incubator-singa's branch refs/heads/master from Moaz Reyad [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=6f8bf57 ] SINGA-484 Add header guard > Code analysis with LGTM > --- > > Key: SINGA-484 > URL: https://issues.apache.org/jira/browse/SINGA-484 > Project: Singa > Issue Type: Improvement >Reporter: Moaz Reyad >Priority: Major > Time Spent: 40m > Remaining Estimate: 0h > > As the code of SINGA is growing, we need to keep the code quality higher to > avoid bugs or security issues. > [LGTM|https://lgtm.com/] is a free tool for continuous security analysis. > At the time of creating this issue, the quality of SINGA's C++ and Python > code are both at [grade|https://lgtm.com/help/lgtm/project-scoring-grading] D > (between A+ and E, this is a low grade). > There are some [alerts for > SINGA|https://lgtm.com/projects/g/apache/incubator-singa/alerts/?mode=list] > that should be fixed. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SINGA-484) Code analysis with LGTM
[ https://issues.apache.org/jira/browse/SINGA-484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16933990#comment-16933990 ] ASF subversion and git services commented on SINGA-484: --- Commit 8faa633bd84a56a7a92f82ead04c634172cd67a5 in incubator-singa's branch refs/heads/master from Moaz Reyad [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=8faa633 ] SINGA-484 Remove unused imports > Code analysis with LGTM > --- > > Key: SINGA-484 > URL: https://issues.apache.org/jira/browse/SINGA-484 > Project: Singa > Issue Type: Improvement >Reporter: Moaz Reyad >Priority: Major > Time Spent: 40m > Remaining Estimate: 0h > > As the code of SINGA is growing, we need to keep the code quality higher to > avoid bugs or security issues. > [LGTM|https://lgtm.com/] is a free tool for continuous security analysis. > At the time of creating this issue, the quality of SINGA's C++ and Python > code are both at [grade|https://lgtm.com/help/lgtm/project-scoring-grading] D > (between A+ and E, this is a low grade). > There are some [alerts for > SINGA|https://lgtm.com/projects/g/apache/incubator-singa/alerts/?mode=list] > that should be fixed. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SINGA-484) Code analysis with LGTM
[ https://issues.apache.org/jira/browse/SINGA-484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16933988#comment-16933988 ] ASF subversion and git services commented on SINGA-484: --- Commit 0a4cd380df57927c622642f8ccda85217e43d173 in incubator-singa's branch refs/heads/master from Moaz Reyad [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=0a4cd38 ] SINGA-484 Remove const modifier that has no effect > Code analysis with LGTM > --- > > Key: SINGA-484 > URL: https://issues.apache.org/jira/browse/SINGA-484 > Project: Singa > Issue Type: Improvement >Reporter: Moaz Reyad >Priority: Major > Time Spent: 40m > Remaining Estimate: 0h > > As the code of SINGA is growing, we need to keep the code quality higher to > avoid bugs or security issues. > [LGTM|https://lgtm.com/] is a free tool for continuous security analysis. > At the time of creating this issue, the quality of SINGA's C++ and Python > code are both at [grade|https://lgtm.com/help/lgtm/project-scoring-grading] D > (between A+ and E, this is a low grade). > There are some [alerts for > SINGA|https://lgtm.com/projects/g/apache/incubator-singa/alerts/?mode=list] > that should be fixed. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SINGA-484) Code analysis with LGTM
[ https://issues.apache.org/jira/browse/SINGA-484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16933991#comment-16933991 ] ASF subversion and git services commented on SINGA-484: --- Commit e31f0f5f24686a92beeb3fde8789e0c5990201b8 in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=e31f0f5 ] Merge pull request #529 from moazreyad/SINGA-484 SINGA-484 Code analysis with LGTM > Code analysis with LGTM > --- > > Key: SINGA-484 > URL: https://issues.apache.org/jira/browse/SINGA-484 > Project: Singa > Issue Type: Improvement >Reporter: Moaz Reyad >Priority: Major > Time Spent: 40m > Remaining Estimate: 0h > > As the code of SINGA is growing, we need to keep the code quality higher to > avoid bugs or security issues. > [LGTM|https://lgtm.com/] is a free tool for continuous security analysis. > At the time of creating this issue, the quality of SINGA's C++ and Python > code are both at [grade|https://lgtm.com/help/lgtm/project-scoring-grading] D > (between A+ and E, this is a low grade). > There are some [alerts for > SINGA|https://lgtm.com/projects/g/apache/incubator-singa/alerts/?mode=list] > that should be fixed. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SINGA-484) Code analysis with LGTM
[ https://issues.apache.org/jira/browse/SINGA-484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16933987#comment-16933987 ] ASF subversion and git services commented on SINGA-484: --- Commit 3a2cc96371ba9fe03121cc6063bd34bc15bec51f in incubator-singa's branch refs/heads/master from Moaz Reyad [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=3a2cc96 ] SINGA-484 Code analysis with LGTM > Code analysis with LGTM > --- > > Key: SINGA-484 > URL: https://issues.apache.org/jira/browse/SINGA-484 > Project: Singa > Issue Type: Improvement >Reporter: Moaz Reyad >Priority: Major > Time Spent: 40m > Remaining Estimate: 0h > > As the code of SINGA is growing, we need to keep the code quality higher to > avoid bugs or security issues. > [LGTM|https://lgtm.com/] is a free tool for continuous security analysis. > At the time of creating this issue, the quality of SINGA's C++ and Python > code are both at [grade|https://lgtm.com/help/lgtm/project-scoring-grading] D > (between A+ and E, this is a low grade). > There are some [alerts for > SINGA|https://lgtm.com/projects/g/apache/incubator-singa/alerts/?mode=list] > that should be fixed. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SINGA-490) Optimize performance of stochastic gradient descent (SGD)
[ https://issues.apache.org/jira/browse/SINGA-490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16933985#comment-16933985 ] ASF subversion and git services commented on SINGA-490: --- Commit 00803696ea35623182ab7b50ca0c6af0450e043c in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=0080369 ] Merge pull request #535 from chrishkchris/SINGA-490 SINGA-490 Optimize performance of stochastic gradient descent (SGD) > Optimize performance of stochastic gradient descent (SGD) > - > > Key: SINGA-490 > URL: https://issues.apache.org/jira/browse/SINGA-490 > Project: Singa > Issue Type: Improvement > Components: Core >Reporter: YEUNG SAI HO >Priority: Major > Time Spent: 1h 40m > Remaining Estimate: 0h > > I create a new Jira ticket to optimize the performance of stochastic gradient > descent (SGD). > The first step is to fuse the small operations so as to increase GPU > computation efficiency and decrease latency. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SINGA-490) Optimize performance of stochastic gradient descent (SGD)
[ https://issues.apache.org/jira/browse/SINGA-490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16933984#comment-16933984 ] ASF subversion and git services commented on SINGA-490: --- Commit a8db8fa661f66b3d8e785aaba33f4aa10cb58379 in incubator-singa's branch refs/heads/master from Chris Yeung [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=a8db8fa ] SINGA-490 Replace with in-place elementwise mult > Optimize performance of stochastic gradient descent (SGD) > - > > Key: SINGA-490 > URL: https://issues.apache.org/jira/browse/SINGA-490 > Project: Singa > Issue Type: Improvement > Components: Core >Reporter: YEUNG SAI HO >Priority: Major > Time Spent: 1h 40m > Remaining Estimate: 0h > > I create a new Jira ticket to optimize the performance of stochastic gradient > descent (SGD). > The first step is to fuse the small operations so as to increase GPU > computation efficiency and decrease latency. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SINGA-490) Optimize performance of stochastic gradient descent (SGD)
[ https://issues.apache.org/jira/browse/SINGA-490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16933986#comment-16933986 ] ASF subversion and git services commented on SINGA-490: --- Commit 00803696ea35623182ab7b50ca0c6af0450e043c in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=0080369 ] Merge pull request #535 from chrishkchris/SINGA-490 SINGA-490 Optimize performance of stochastic gradient descent (SGD) > Optimize performance of stochastic gradient descent (SGD) > - > > Key: SINGA-490 > URL: https://issues.apache.org/jira/browse/SINGA-490 > Project: Singa > Issue Type: Improvement > Components: Core >Reporter: YEUNG SAI HO >Priority: Major > Time Spent: 1h 40m > Remaining Estimate: 0h > > I create a new Jira ticket to optimize the performance of stochastic gradient > descent (SGD). > The first step is to fuse the small operations so as to increase GPU > computation efficiency and decrease latency. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SINGA-490) Optimize performance of stochastic gradient descent (SGD)
[ https://issues.apache.org/jira/browse/SINGA-490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16933983#comment-16933983 ] ASF subversion and git services commented on SINGA-490: --- Commit f6d5f2d6c71e61dd1b7937c887bca670b16a3770 in incubator-singa's branch refs/heads/master from chrishkchris [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=f6d5f2d ] SINGA-490 Optimize performance of stochastic gradient descent (SGD) > Optimize performance of stochastic gradient descent (SGD) > - > > Key: SINGA-490 > URL: https://issues.apache.org/jira/browse/SINGA-490 > Project: Singa > Issue Type: Improvement > Components: Core >Reporter: YEUNG SAI HO >Priority: Major > Time Spent: 1h 40m > Remaining Estimate: 0h > > I create a new Jira ticket to optimize the performance of stochastic gradient > descent (SGD). > The first step is to fuse the small operations so as to increase GPU > computation efficiency and decrease latency. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (SINGA-485) Code Coverage Analysis
[ https://issues.apache.org/jira/browse/SINGA-485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16929672#comment-16929672 ] ASF subversion and git services commented on SINGA-485: --- Commit bbd9015867de6fbb8845d12d455647dd1bb141a8 in incubator-singa's branch refs/heads/master from Moaz Reyad [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=bbd9015 ] SINGA-485 Add Ubuntu 16.04 and 18.04 to Travis CI build > Code Coverage Analysis > -- > > Key: SINGA-485 > URL: https://issues.apache.org/jira/browse/SINGA-485 > Project: Singa > Issue Type: Improvement >Reporter: Moaz Reyad >Priority: Major > Time Spent: 20m > Remaining Estimate: 0h > > SINGA development and testing can be improved by using a [code > coverage|https://en.wikipedia.org/wiki/Code_coverage] tool. > Some Apache projects use [codecov|https://codecov.io/gh/apache?page=1], while > others use [coverall|https://coveralls.io/github/apache?page=1]. > This issue is open to choose a code coverage tool and add it to SINGA build > and test pipeline. > -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (SINGA-485) Code Coverage Analysis
[ https://issues.apache.org/jira/browse/SINGA-485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16929674#comment-16929674 ] ASF subversion and git services commented on SINGA-485: --- Commit 8159e87e0ae4c8a78c5874b7abda83b667200bed in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=8159e87 ] Merge pull request #531 from moazreyad/SINGA-485 SINGA-485 Add code coverage with codecov > Code Coverage Analysis > -- > > Key: SINGA-485 > URL: https://issues.apache.org/jira/browse/SINGA-485 > Project: Singa > Issue Type: Improvement >Reporter: Moaz Reyad >Priority: Major > Time Spent: 20m > Remaining Estimate: 0h > > SINGA development and testing can be improved by using a [code > coverage|https://en.wikipedia.org/wiki/Code_coverage] tool. > Some Apache projects use [codecov|https://codecov.io/gh/apache?page=1], while > others use [coverall|https://coveralls.io/github/apache?page=1]. > This issue is open to choose a code coverage tool and add it to SINGA build > and test pipeline. > -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (SINGA-485) Code Coverage Analysis
[ https://issues.apache.org/jira/browse/SINGA-485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16929673#comment-16929673 ] ASF subversion and git services commented on SINGA-485: --- Commit 8159e87e0ae4c8a78c5874b7abda83b667200bed in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=8159e87 ] Merge pull request #531 from moazreyad/SINGA-485 SINGA-485 Add code coverage with codecov > Code Coverage Analysis > -- > > Key: SINGA-485 > URL: https://issues.apache.org/jira/browse/SINGA-485 > Project: Singa > Issue Type: Improvement >Reporter: Moaz Reyad >Priority: Major > Time Spent: 20m > Remaining Estimate: 0h > > SINGA development and testing can be improved by using a [code > coverage|https://en.wikipedia.org/wiki/Code_coverage] tool. > Some Apache projects use [codecov|https://codecov.io/gh/apache?page=1], while > others use [coverall|https://coveralls.io/github/apache?page=1]. > This issue is open to choose a code coverage tool and add it to SINGA build > and test pipeline. > -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (SINGA-485) Code Coverage Analysis
[ https://issues.apache.org/jira/browse/SINGA-485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16929671#comment-16929671 ] ASF subversion and git services commented on SINGA-485: --- Commit 5cf19022cffe6bdfcd028c005c6b33e29577aa45 in incubator-singa's branch refs/heads/master from Moaz Reyad [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=5cf1902 ] SINGA-485 Add code coverage with codecov > Code Coverage Analysis > -- > > Key: SINGA-485 > URL: https://issues.apache.org/jira/browse/SINGA-485 > Project: Singa > Issue Type: Improvement >Reporter: Moaz Reyad >Priority: Major > Time Spent: 20m > Remaining Estimate: 0h > > SINGA development and testing can be improved by using a [code > coverage|https://en.wikipedia.org/wiki/Code_coverage] tool. > Some Apache projects use [codecov|https://codecov.io/gh/apache?page=1], while > others use [coverall|https://coveralls.io/github/apache?page=1]. > This issue is open to choose a code coverage tool and add it to SINGA build > and test pipeline. > -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (SINGA-487) Distributed Module Development and Improvement
[ https://issues.apache.org/jira/browse/SINGA-487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16929664#comment-16929664 ] ASF subversion and git services commented on SINGA-487: --- Commit 872eb6c06a7ecc108a77382606da4571f49aba3f in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=872eb6c ] Merge pull request #532 from chrishkchris/SINGA-487 SINGA-487 Add the support of Python Multiprocess Module > Distributed Module Development and Improvement > -- > > Key: SINGA-487 > URL: https://issues.apache.org/jira/browse/SINGA-487 > Project: Singa > Issue Type: New Feature > Components: Module >Reporter: YEUNG SAI HO >Priority: Major > Time Spent: 20m > Remaining Estimate: 0h > > Here I open a new Jira ticket for long term development and improvement of > distributed learning module. > E.g., Firstly, I will make the distributed module to be compatible with > python multiprocessing. > -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (SINGA-487) Distributed Module Development and Improvement
[ https://issues.apache.org/jira/browse/SINGA-487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16929661#comment-16929661 ] ASF subversion and git services commented on SINGA-487: --- Commit c36faf42ede14a0011b61743dbd37d34021fa0b7 in incubator-singa's branch refs/heads/master from chrishkchris [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=c36faf4 ] SINGA-487 Modified the Distributed Module to be compatiable with Python Multiprocessing > Distributed Module Development and Improvement > -- > > Key: SINGA-487 > URL: https://issues.apache.org/jira/browse/SINGA-487 > Project: Singa > Issue Type: New Feature > Components: Module >Reporter: YEUNG SAI HO >Priority: Major > Time Spent: 20m > Remaining Estimate: 0h > > Here I open a new Jira ticket for long term development and improvement of > distributed learning module. > E.g., Firstly, I will make the distributed module to be compatible with > python multiprocessing. > -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (SINGA-487) Distributed Module Development and Improvement
[ https://issues.apache.org/jira/browse/SINGA-487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16929662#comment-16929662 ] ASF subversion and git services commented on SINGA-487: --- Commit 72754462876eaebcd9737ab7c5012b12ffca in incubator-singa's branch refs/heads/master from chrishkchris [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=727 ] SINGA-487 Update Distributed Module Examples > Distributed Module Development and Improvement > -- > > Key: SINGA-487 > URL: https://issues.apache.org/jira/browse/SINGA-487 > Project: Singa > Issue Type: New Feature > Components: Module >Reporter: YEUNG SAI HO >Priority: Major > Time Spent: 20m > Remaining Estimate: 0h > > Here I open a new Jira ticket for long term development and improvement of > distributed learning module. > E.g., Firstly, I will make the distributed module to be compatible with > python multiprocessing. > -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (SINGA-487) Distributed Module Development and Improvement
[ https://issues.apache.org/jira/browse/SINGA-487?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16929663#comment-16929663 ] ASF subversion and git services commented on SINGA-487: --- Commit 872eb6c06a7ecc108a77382606da4571f49aba3f in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=872eb6c ] Merge pull request #532 from chrishkchris/SINGA-487 SINGA-487 Add the support of Python Multiprocess Module > Distributed Module Development and Improvement > -- > > Key: SINGA-487 > URL: https://issues.apache.org/jira/browse/SINGA-487 > Project: Singa > Issue Type: New Feature > Components: Module >Reporter: YEUNG SAI HO >Priority: Major > Time Spent: 20m > Remaining Estimate: 0h > > Here I open a new Jira ticket for long term development and improvement of > distributed learning module. > E.g., Firstly, I will make the distributed module to be compatible with > python multiprocessing. > -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (SINGA-405) Graduate Apache SINGA (incubating) as a TLP
[ https://issues.apache.org/jira/browse/SINGA-405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16923206#comment-16923206 ] ASF subversion and git services commented on SINGA-405: --- Commit 567a5247910ae46488c15f0cc7eba292d37652b0 in incubator-singa's branch refs/heads/master from Moaz Reyad [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=567a524 ] [SINGA-405] Recommend using official releases Recommend using docker images for official releases instead of docker nightly builds. > Graduate Apache SINGA (incubating) as a TLP > --- > > Key: SINGA-405 > URL: https://issues.apache.org/jira/browse/SINGA-405 > Project: Singa > Issue Type: Improvement >Reporter: Moaz Reyad >Priority: Major > Time Spent: 40m > Remaining Estimate: 0h > > This issue is open for preparing the graduation of SINGA as Top Level Project > (TLP). > It is required to complete the Graduation Check List from the [graduation > guidelines|https://incubator.apache.org/guides/graduation.html]. We will > discuss the check list items in this issue. -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (SINGA-405) Graduate Apache SINGA (incubating) as a TLP
[ https://issues.apache.org/jira/browse/SINGA-405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16923189#comment-16923189 ] ASF subversion and git services commented on SINGA-405: --- Commit ec26ac4564dc1497b5b85b1c05f5bc0d1f303a47 in incubator-singa's branch refs/heads/master from Wang Wei [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=ec26ac4 ] SINGA-405 Add roles to contributors > Graduate Apache SINGA (incubating) as a TLP > --- > > Key: SINGA-405 > URL: https://issues.apache.org/jira/browse/SINGA-405 > Project: Singa > Issue Type: Improvement >Reporter: Moaz Reyad >Priority: Major > Time Spent: 40m > Remaining Estimate: 0h > > This issue is open for preparing the graduation of SINGA as Top Level Project > (TLP). > It is required to complete the Graduation Check List from the [graduation > guidelines|https://incubator.apache.org/guides/graduation.html]. We will > discuss the check list items in this issue. -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (SINGA-405) Graduate Apache SINGA (incubating) as a TLP
[ https://issues.apache.org/jira/browse/SINGA-405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16923190#comment-16923190 ] ASF subversion and git services commented on SINGA-405: --- Commit 0509b42cc5e455271e3f3235d6fbc311f54a1669 in incubator-singa's branch refs/heads/master from Moaz Reyad [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=0509b42 ] SINGA-405 Update team page > Graduate Apache SINGA (incubating) as a TLP > --- > > Key: SINGA-405 > URL: https://issues.apache.org/jira/browse/SINGA-405 > Project: Singa > Issue Type: Improvement >Reporter: Moaz Reyad >Priority: Major > Time Spent: 40m > Remaining Estimate: 0h > > This issue is open for preparing the graduation of SINGA as Top Level Project > (TLP). > It is required to complete the Graduation Check List from the [graduation > guidelines|https://incubator.apache.org/guides/graduation.html]. We will > discuss the check list items in this issue. -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (SINGA-405) Graduate Apache SINGA (incubating) as a TLP
[ https://issues.apache.org/jira/browse/SINGA-405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16923194#comment-16923194 ] ASF subversion and git services commented on SINGA-405: --- Commit ccc45cc5e4641eef9aa6b400e3b4fb652f13f632 in incubator-singa's branch refs/heads/master from Moaz Reyad [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=ccc45cc ] Merge pull request #426 from moazreyad/SINGA-405-CS10 SINGA-405 Add roles to contributors > Graduate Apache SINGA (incubating) as a TLP > --- > > Key: SINGA-405 > URL: https://issues.apache.org/jira/browse/SINGA-405 > Project: Singa > Issue Type: Improvement >Reporter: Moaz Reyad >Priority: Major > Time Spent: 40m > Remaining Estimate: 0h > > This issue is open for preparing the graduation of SINGA as Top Level Project > (TLP). > It is required to complete the Graduation Check List from the [graduation > guidelines|https://incubator.apache.org/guides/graduation.html]. We will > discuss the check list items in this issue. -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (SINGA-405) Graduate Apache SINGA (incubating) as a TLP
[ https://issues.apache.org/jira/browse/SINGA-405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16923191#comment-16923191 ] ASF subversion and git services commented on SINGA-405: --- Commit d3d9e3c5d4157f3586f1f37e9a4c6612cbdc6cfc in incubator-singa's branch refs/heads/master from Moaz Reyad [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=d3d9e3c ] SINGA-405 Update team page > Graduate Apache SINGA (incubating) as a TLP > --- > > Key: SINGA-405 > URL: https://issues.apache.org/jira/browse/SINGA-405 > Project: Singa > Issue Type: Improvement >Reporter: Moaz Reyad >Priority: Major > Time Spent: 40m > Remaining Estimate: 0h > > This issue is open for preparing the graduation of SINGA as Top Level Project > (TLP). > It is required to complete the Graduation Check List from the [graduation > guidelines|https://incubator.apache.org/guides/graduation.html]. We will > discuss the check list items in this issue. -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (SINGA-405) Graduate Apache SINGA (incubating) as a TLP
[ https://issues.apache.org/jira/browse/SINGA-405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16923193#comment-16923193 ] ASF subversion and git services commented on SINGA-405: --- Commit ccc45cc5e4641eef9aa6b400e3b4fb652f13f632 in incubator-singa's branch refs/heads/master from Moaz Reyad [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=ccc45cc ] Merge pull request #426 from moazreyad/SINGA-405-CS10 SINGA-405 Add roles to contributors > Graduate Apache SINGA (incubating) as a TLP > --- > > Key: SINGA-405 > URL: https://issues.apache.org/jira/browse/SINGA-405 > Project: Singa > Issue Type: Improvement >Reporter: Moaz Reyad >Priority: Major > Time Spent: 40m > Remaining Estimate: 0h > > This issue is open for preparing the graduation of SINGA as Top Level Project > (TLP). > It is required to complete the Graduation Check List from the [graduation > guidelines|https://incubator.apache.org/guides/graduation.html]. We will > discuss the check list items in this issue. -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (SINGA-405) Graduate Apache SINGA (incubating) as a TLP
[ https://issues.apache.org/jira/browse/SINGA-405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16923188#comment-16923188 ] ASF subversion and git services commented on SINGA-405: --- Commit d3ddbae348537f8ffd2f8aa73aeef0991a0e308b in incubator-singa's branch refs/heads/master from Moaz Reyad [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=d3ddbae ] SINGA-405 Add roles to contributors > Graduate Apache SINGA (incubating) as a TLP > --- > > Key: SINGA-405 > URL: https://issues.apache.org/jira/browse/SINGA-405 > Project: Singa > Issue Type: Improvement >Reporter: Moaz Reyad >Priority: Major > Time Spent: 40m > Remaining Estimate: 0h > > This issue is open for preparing the graduation of SINGA as Top Level Project > (TLP). > It is required to complete the Graduation Check List from the [graduation > guidelines|https://incubator.apache.org/guides/graduation.html]. We will > discuss the check list items in this issue. -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (SINGA-405) Graduate Apache SINGA (incubating) as a TLP
[ https://issues.apache.org/jira/browse/SINGA-405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16923192#comment-16923192 ] ASF subversion and git services commented on SINGA-405: --- Commit bf5d1c5915b167b338c2fede08021881208dca88 in incubator-singa's branch refs/heads/master from Moaz Reyad [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=bf5d1c5 ] Merge branch 'master' into SINGA-405-CS10 > Graduate Apache SINGA (incubating) as a TLP > --- > > Key: SINGA-405 > URL: https://issues.apache.org/jira/browse/SINGA-405 > Project: Singa > Issue Type: Improvement >Reporter: Moaz Reyad >Priority: Major > Time Spent: 40m > Remaining Estimate: 0h > > This issue is open for preparing the graduation of SINGA as Top Level Project > (TLP). > It is required to complete the Graduation Check List from the [graduation > guidelines|https://incubator.apache.org/guides/graduation.html]. We will > discuss the check list items in this issue. -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (SINGA-474) Implement ONNX Operators in Autograd
[ https://issues.apache.org/jira/browse/SINGA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16921498#comment-16921498 ] ASF subversion and git services commented on SINGA-474: --- Commit 572efeac1fa7405736e64d4ac5cd4d86694b96df in incubator-singa's branch refs/heads/master from ShichengChen [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=572efea ] SINGA-474 prelu,add,equal,selu,elu operator > Implement ONNX Operators in Autograd > > > Key: SINGA-474 > URL: https://issues.apache.org/jira/browse/SINGA-474 > Project: Singa > Issue Type: Improvement >Reporter: Shicheng >Priority: Minor > Time Spent: 21h 50m > Remaining Estimate: 0h > > Implement ONNX Operators following > https://github.com/onnx/onnx/blob/master/docs/Operators.md -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (SINGA-474) Implement ONNX Operators in Autograd
[ https://issues.apache.org/jira/browse/SINGA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16921497#comment-16921497 ] ASF subversion and git services commented on SINGA-474: --- Commit 39b4c3fd55f29af65c2474f593c60cab35622a80 in incubator-singa's branch refs/heads/master from ShichengChen [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=39b4c3f ] SINGA-474 prelu operator > Implement ONNX Operators in Autograd > > > Key: SINGA-474 > URL: https://issues.apache.org/jira/browse/SINGA-474 > Project: Singa > Issue Type: Improvement >Reporter: Shicheng >Priority: Minor > Time Spent: 21h 50m > Remaining Estimate: 0h > > Implement ONNX Operators following > https://github.com/onnx/onnx/blob/master/docs/Operators.md -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (SINGA-474) Implement ONNX Operators in Autograd
[ https://issues.apache.org/jira/browse/SINGA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16921500#comment-16921500 ] ASF subversion and git services commented on SINGA-474: --- Commit 850e0c154548febbb5a75fc3dda11a4e691e3736 in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=850e0c1 ] Merge pull request #524 from ShichengChen/operator5 SINGA-474 prelu,add,equal,selu,elu operator > Implement ONNX Operators in Autograd > > > Key: SINGA-474 > URL: https://issues.apache.org/jira/browse/SINGA-474 > Project: Singa > Issue Type: Improvement >Reporter: Shicheng >Priority: Minor > Time Spent: 21h 50m > Remaining Estimate: 0h > > Implement ONNX Operators following > https://github.com/onnx/onnx/blob/master/docs/Operators.md -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (SINGA-474) Implement ONNX Operators in Autograd
[ https://issues.apache.org/jira/browse/SINGA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16921496#comment-16921496 ] ASF subversion and git services commented on SINGA-474: --- Commit 68b7ac2e8bad44ed1f1ac8a33bf627c757e9938d in incubator-singa's branch refs/heads/master from ShichengChen [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=68b7ac2 ] SINGA-474 prelu operator > Implement ONNX Operators in Autograd > > > Key: SINGA-474 > URL: https://issues.apache.org/jira/browse/SINGA-474 > Project: Singa > Issue Type: Improvement >Reporter: Shicheng >Priority: Minor > Time Spent: 21h 50m > Remaining Estimate: 0h > > Implement ONNX Operators following > https://github.com/onnx/onnx/blob/master/docs/Operators.md -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (SINGA-474) Implement ONNX Operators in Autograd
[ https://issues.apache.org/jira/browse/SINGA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16921499#comment-16921499 ] ASF subversion and git services commented on SINGA-474: --- Commit 21f27a774ec7ff0954aa5541bbbc606bcb8ce7b4 in incubator-singa's branch refs/heads/master from ShichengChen [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=21f27a7 ] SINGA-474 prelu,add,equal,selu,elu operator, optimize operations and add assertions > Implement ONNX Operators in Autograd > > > Key: SINGA-474 > URL: https://issues.apache.org/jira/browse/SINGA-474 > Project: Singa > Issue Type: Improvement >Reporter: Shicheng >Priority: Minor > Time Spent: 21h 50m > Remaining Estimate: 0h > > Implement ONNX Operators following > https://github.com/onnx/onnx/blob/master/docs/Operators.md -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (SINGA-456) Adding more PGP Keys
[ https://issues.apache.org/jira/browse/SINGA-456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16915115#comment-16915115 ] ASF subversion and git services commented on SINGA-456: --- Commit a5a3221b45621163c9f1ad601a91be2daaeeb30c in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=a5a3221 ] Merge pull request #530 from moazreyad/SINGA-456 SINGA-456 Add KEYS file > Adding more PGP Keys > > > Key: SINGA-456 > URL: https://issues.apache.org/jira/browse/SINGA-456 > Project: Singa > Issue Type: Improvement >Reporter: Moaz Reyad >Priority: Major > Attachments: KEYS > > Time Spent: 20m > Remaining Estimate: 0h > > Currently the SINGA [KEYS |https://www.apache.org/dist/incubator/singa/KEYS] > file has only one PGP key which is expiring this September (it needs to be > updated). This means only one person can sign the releases. While other > projects like CouchDB for example, have several keys in the [KEYS > |https://www.apache.org/dist/couchdb/KEYS] file. > It will be useful if every active Apache committer in the team create a PGP > key and uploads the Public Key Primary Fingerprint to his account using > [Apache Account Utility|https://id.apache.org/]. Then append the new key to > the SINGA KEYS file. > Furthermore, the keys themselves can be signed for more trust. SINGA team can > exchange key signatures between them or organize a [key signing > party|https://www.apache.org/dev/release-signing#key-signing-party]. This > will help adding more SINGA committers into the [Apache Web of > Trust|https://www.apache.org/dev/release-signing#web-of-trust]. > I attach with this issue the KEYS file with my key appended at the end. -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (SINGA-456) Adding more PGP Keys
[ https://issues.apache.org/jira/browse/SINGA-456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16915114#comment-16915114 ] ASF subversion and git services commented on SINGA-456: --- Commit a5a3221b45621163c9f1ad601a91be2daaeeb30c in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=a5a3221 ] Merge pull request #530 from moazreyad/SINGA-456 SINGA-456 Add KEYS file > Adding more PGP Keys > > > Key: SINGA-456 > URL: https://issues.apache.org/jira/browse/SINGA-456 > Project: Singa > Issue Type: Improvement >Reporter: Moaz Reyad >Priority: Major > Attachments: KEYS > > Time Spent: 20m > Remaining Estimate: 0h > > Currently the SINGA [KEYS |https://www.apache.org/dist/incubator/singa/KEYS] > file has only one PGP key which is expiring this September (it needs to be > updated). This means only one person can sign the releases. While other > projects like CouchDB for example, have several keys in the [KEYS > |https://www.apache.org/dist/couchdb/KEYS] file. > It will be useful if every active Apache committer in the team create a PGP > key and uploads the Public Key Primary Fingerprint to his account using > [Apache Account Utility|https://id.apache.org/]. Then append the new key to > the SINGA KEYS file. > Furthermore, the keys themselves can be signed for more trust. SINGA team can > exchange key signatures between them or organize a [key signing > party|https://www.apache.org/dev/release-signing#key-signing-party]. This > will help adding more SINGA committers into the [Apache Web of > Trust|https://www.apache.org/dev/release-signing#web-of-trust]. > I attach with this issue the KEYS file with my key appended at the end. -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (SINGA-456) Adding more PGP Keys
[ https://issues.apache.org/jira/browse/SINGA-456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16915113#comment-16915113 ] ASF subversion and git services commented on SINGA-456: --- Commit c28df010ecdb79a334674982a3881fb9a224347a in incubator-singa's branch refs/heads/master from Moaz Reyad [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=c28df01 ] SINGA-456 Add KEYS file > Adding more PGP Keys > > > Key: SINGA-456 > URL: https://issues.apache.org/jira/browse/SINGA-456 > Project: Singa > Issue Type: Improvement >Reporter: Moaz Reyad >Priority: Major > Attachments: KEYS > > Time Spent: 20m > Remaining Estimate: 0h > > Currently the SINGA [KEYS |https://www.apache.org/dist/incubator/singa/KEYS] > file has only one PGP key which is expiring this September (it needs to be > updated). This means only one person can sign the releases. While other > projects like CouchDB for example, have several keys in the [KEYS > |https://www.apache.org/dist/couchdb/KEYS] file. > It will be useful if every active Apache committer in the team create a PGP > key and uploads the Public Key Primary Fingerprint to his account using > [Apache Account Utility|https://id.apache.org/]. Then append the new key to > the SINGA KEYS file. > Furthermore, the keys themselves can be signed for more trust. SINGA team can > exchange key signatures between them or organize a [key signing > party|https://www.apache.org/dev/release-signing#key-signing-party]. This > will help adding more SINGA committers into the [Apache Web of > Trust|https://www.apache.org/dev/release-signing#web-of-trust]. > I attach with this issue the KEYS file with my key appended at the end. -- This message was sent by Atlassian Jira (v8.3.2#803003)
[jira] [Commented] (SINGA-478) Python 3 uses __itruediv__ instead of __idiv__
[ https://issues.apache.org/jira/browse/SINGA-478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16910118#comment-16910118 ] ASF subversion and git services commented on SINGA-478: --- Commit 15b6520e7c8f3d0af49b64864a1b3b44ffde25ce in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=15b6520 ] Merge pull request #523 from chrishkchris/SINGA-478 SINGA-478 Improve __itruediv__ in tensor.py > Python 3 uses __itruediv__ instead of __idiv__ > -- > > Key: SINGA-478 > URL: https://issues.apache.org/jira/browse/SINGA-478 > Project: Singa > Issue Type: Improvement > Components: Core >Reporter: YEUNG SAI HO >Priority: Major > Time Spent: 1h 40m > Remaining Estimate: 0h > > We need to add __itruediv__ in tensor.py because the original __idiv__ is > not supported by python 3 anymore. > > To understand the problem, let's study the following code first: > {code:java} > from singa import tensor > from singa import device > import numpy as np > Y = np.ones(shape=[10],dtype=np.float32) * 10.0 > y = tensor.from_numpy(Y) > y.to_device(device.get_default_device()) > def divide(y): > y /= 10 > divide(y) > print(tensor.to_numpy(y)) > {code} > Without adding the {color:#33}__itruediv__{color} function, the result > is as follows, which means that the /= operation is not in place: > {code:java} > [10. 10. 10. 10. 10. 10. 10. 10. 10. 10.] > {code} > After adding the __itruediv__ function, the result is as follows, which means > that the /= operation is in place: > {code:java} > [1. 1. 1. 1. 1. 1. 1. 1. 1. 1.] > {code} > This is because the {color:#33}__idiv__ operation is for python 2, while > __itruediv__ is for python 3. Therefore, if we do not add the __itruediv__ > operator in tensor.py, it just uses a default operation which is not in > place.{color} > > -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-478) Python 3 uses __itruediv__ instead of __idiv__
[ https://issues.apache.org/jira/browse/SINGA-478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16910117#comment-16910117 ] ASF subversion and git services commented on SINGA-478: --- Commit 15b6520e7c8f3d0af49b64864a1b3b44ffde25ce in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=15b6520 ] Merge pull request #523 from chrishkchris/SINGA-478 SINGA-478 Improve __itruediv__ in tensor.py > Python 3 uses __itruediv__ instead of __idiv__ > -- > > Key: SINGA-478 > URL: https://issues.apache.org/jira/browse/SINGA-478 > Project: Singa > Issue Type: Improvement > Components: Core >Reporter: YEUNG SAI HO >Priority: Major > Time Spent: 1h 40m > Remaining Estimate: 0h > > We need to add __itruediv__ in tensor.py because the original __idiv__ is > not supported by python 3 anymore. > > To understand the problem, let's study the following code first: > {code:java} > from singa import tensor > from singa import device > import numpy as np > Y = np.ones(shape=[10],dtype=np.float32) * 10.0 > y = tensor.from_numpy(Y) > y.to_device(device.get_default_device()) > def divide(y): > y /= 10 > divide(y) > print(tensor.to_numpy(y)) > {code} > Without adding the {color:#33}__itruediv__{color} function, the result > is as follows, which means that the /= operation is not in place: > {code:java} > [10. 10. 10. 10. 10. 10. 10. 10. 10. 10.] > {code} > After adding the __itruediv__ function, the result is as follows, which means > that the /= operation is in place: > {code:java} > [1. 1. 1. 1. 1. 1. 1. 1. 1. 1.] > {code} > This is because the {color:#33}__idiv__ operation is for python 2, while > __itruediv__ is for python 3. Therefore, if we do not add the __itruediv__ > operator in tensor.py, it just uses a default operation which is not in > place.{color} > > -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-478) Python 3 uses __itruediv__ instead of __idiv__
[ https://issues.apache.org/jira/browse/SINGA-478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16910116#comment-16910116 ] ASF subversion and git services commented on SINGA-478: --- Commit c762bb6641f8ffd414dd37839136634a79d616f9 in incubator-singa's branch refs/heads/master from chrishkchris [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=c762bb6 ] SINGA-478 Improve __itruediv__ in tensor.py > Python 3 uses __itruediv__ instead of __idiv__ > -- > > Key: SINGA-478 > URL: https://issues.apache.org/jira/browse/SINGA-478 > Project: Singa > Issue Type: Improvement > Components: Core >Reporter: YEUNG SAI HO >Priority: Major > Time Spent: 1h 40m > Remaining Estimate: 0h > > We need to add __itruediv__ in tensor.py because the original __idiv__ is > not supported by python 3 anymore. > > To understand the problem, let's study the following code first: > {code:java} > from singa import tensor > from singa import device > import numpy as np > Y = np.ones(shape=[10],dtype=np.float32) * 10.0 > y = tensor.from_numpy(Y) > y.to_device(device.get_default_device()) > def divide(y): > y /= 10 > divide(y) > print(tensor.to_numpy(y)) > {code} > Without adding the {color:#33}__itruediv__{color} function, the result > is as follows, which means that the /= operation is not in place: > {code:java} > [10. 10. 10. 10. 10. 10. 10. 10. 10. 10.] > {code} > After adding the __itruediv__ function, the result is as follows, which means > that the /= operation is in place: > {code:java} > [1. 1. 1. 1. 1. 1. 1. 1. 1. 1.] > {code} > This is because the {color:#33}__idiv__ operation is for python 2, while > __itruediv__ is for python 3. Therefore, if we do not add the __itruediv__ > operator in tensor.py, it just uses a default operation which is not in > place.{color} > > -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-474) Implement ONNX Operators in Autograd
[ https://issues.apache.org/jira/browse/SINGA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16909094#comment-16909094 ] ASF subversion and git services commented on SINGA-474: --- Commit 034bc19c29d372c96e84e53e404c0a06f364d71d in incubator-singa's branch refs/heads/master from ShichengChen [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=034bc19 ] SINGA-474 hardSigmoid operator > Implement ONNX Operators in Autograd > > > Key: SINGA-474 > URL: https://issues.apache.org/jira/browse/SINGA-474 > Project: Singa > Issue Type: Improvement >Reporter: Shicheng >Priority: Minor > Time Spent: 18h > Remaining Estimate: 0h > > Implement ONNX Operators following > https://github.com/onnx/onnx/blob/master/docs/Operators.md -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-474) Implement ONNX Operators in Autograd
[ https://issues.apache.org/jira/browse/SINGA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16909095#comment-16909095 ] ASF subversion and git services commented on SINGA-474: --- Commit 8187aebf0f06c02fb1d42f71c6b08fa5fcef852b in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=8187aeb ] Merge pull request #519 from ShichengChen/operator4 SINGA-474 hardSigmoid operator > Implement ONNX Operators in Autograd > > > Key: SINGA-474 > URL: https://issues.apache.org/jira/browse/SINGA-474 > Project: Singa > Issue Type: Improvement >Reporter: Shicheng >Priority: Minor > Time Spent: 18h > Remaining Estimate: 0h > > Implement ONNX Operators following > https://github.com/onnx/onnx/blob/master/docs/Operators.md -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-483) fix dummy bugs
[ https://issues.apache.org/jira/browse/SINGA-483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16908668#comment-16908668 ] ASF subversion and git services commented on SINGA-483: --- Commit b17931e7cda660b695aa65f9ed47fca74e79f737 in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=b17931e ] Merge pull request #521 from joddiy/SINGA-483 SINGA-483 > fix dummy bugs > -- > > Key: SINGA-483 > URL: https://issues.apache.org/jira/browse/SINGA-483 > Project: Singa > Issue Type: New Feature >Reporter: zhangzhaoqi >Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > There is a but at autograd dummy operator. It should call __getattribute__ > function to get tensor's attribute, not directly use the name. -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-483) fix dummy bugs
[ https://issues.apache.org/jira/browse/SINGA-483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16908667#comment-16908667 ] ASF subversion and git services commented on SINGA-483: --- Commit b17931e7cda660b695aa65f9ed47fca74e79f737 in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=b17931e ] Merge pull request #521 from joddiy/SINGA-483 SINGA-483 > fix dummy bugs > -- > > Key: SINGA-483 > URL: https://issues.apache.org/jira/browse/SINGA-483 > Project: Singa > Issue Type: New Feature >Reporter: zhangzhaoqi >Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > There is a but at autograd dummy operator. It should call __getattribute__ > function to get tensor's attribute, not directly use the name. -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-481) Reconstruct SONNX
[ https://issues.apache.org/jira/browse/SINGA-481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16908628#comment-16908628 ] ASF subversion and git services commented on SINGA-481: --- Commit a9cb710caac267513e92272b6b55e4fd4c21b46c in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=a9cb710 ] Merge pull request #504 from joddiy/SINGA-481 SINGA-481 Reconsturct soonx > Reconstruct SONNX > - > > Key: SINGA-481 > URL: https://issues.apache.org/jira/browse/SINGA-481 > Project: Singa > Issue Type: New Feature >Reporter: zhangzhaoqi >Priority: Major > Time Spent: 1h 10m > Remaining Estimate: 0h > > * Reconstruct the frontend and backend of soonx, and make it support transfer > learning. > * Develop soonx operators: conv2d, relu, avg_pool, softmax, sigmoid, add, > concat, matmul > > * Add these operators' test cases. -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-474) Implement ONNX Operators in Autograd
[ https://issues.apache.org/jira/browse/SINGA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16907930#comment-16907930 ] ASF subversion and git services commented on SINGA-474: --- Commit f15526721da09bc4999ec7a17dce66f017c84d36 in incubator-singa's branch refs/heads/master from ShichengChen [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=f155267 ] SINGA-474 squeeze operator, fix forward bug > Implement ONNX Operators in Autograd > > > Key: SINGA-474 > URL: https://issues.apache.org/jira/browse/SINGA-474 > Project: Singa > Issue Type: Improvement >Reporter: Shicheng >Priority: Minor > Time Spent: 17h 20m > Remaining Estimate: 0h > > Implement ONNX Operators following > https://github.com/onnx/onnx/blob/master/docs/Operators.md -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-474) Implement ONNX Operators in Autograd
[ https://issues.apache.org/jira/browse/SINGA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16907931#comment-16907931 ] ASF subversion and git services commented on SINGA-474: --- Commit 76cd65de0e1bdef2ca977a3f8c8a12e22ada2606 in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=76cd65d ] Merge pull request #517 from ShichengChen/operatorConflict SINGA-474 squeeze operator > Implement ONNX Operators in Autograd > > > Key: SINGA-474 > URL: https://issues.apache.org/jira/browse/SINGA-474 > Project: Singa > Issue Type: Improvement >Reporter: Shicheng >Priority: Minor > Time Spent: 17h 20m > Remaining Estimate: 0h > > Implement ONNX Operators following > https://github.com/onnx/onnx/blob/master/docs/Operators.md -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-474) Implement ONNX Operators in Autograd
[ https://issues.apache.org/jira/browse/SINGA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16907929#comment-16907929 ] ASF subversion and git services commented on SINGA-474: --- Commit 07b265a4fc516f0b2c6dfbc4d10a7a63d42458b8 in incubator-singa's branch refs/heads/master from ShichengChen [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=07b265a ] SINGA-474 squeeze operator > Implement ONNX Operators in Autograd > > > Key: SINGA-474 > URL: https://issues.apache.org/jira/browse/SINGA-474 > Project: Singa > Issue Type: Improvement >Reporter: Shicheng >Priority: Minor > Time Spent: 17h 20m > Remaining Estimate: 0h > > Implement ONNX Operators following > https://github.com/onnx/onnx/blob/master/docs/Operators.md -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-474) Implement ONNX Operators in Autograd
[ https://issues.apache.org/jira/browse/SINGA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16907829#comment-16907829 ] ASF subversion and git services commented on SINGA-474: --- Commit a018b2d84f4407bddc10e486f86cfe611c445aee in incubator-singa's branch refs/heads/master from ShichengChen [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=a018b2d ] SINGA-474 fix origin conflict > Implement ONNX Operators in Autograd > > > Key: SINGA-474 > URL: https://issues.apache.org/jira/browse/SINGA-474 > Project: Singa > Issue Type: Improvement >Reporter: Shicheng >Priority: Minor > Time Spent: 16h 20m > Remaining Estimate: 0h > > Implement ONNX Operators following > https://github.com/onnx/onnx/blob/master/docs/Operators.md -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-474) Implement ONNX Operators in Autograd
[ https://issues.apache.org/jira/browse/SINGA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16907830#comment-16907830 ] ASF subversion and git services commented on SINGA-474: --- Commit ed8ff36b99eff85a8f73e22c96059620c744f61b in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=ed8ff36 ] Merge pull request #516 from ShichengChen/operatorConflict SINGA-474 fix origin conflict > Implement ONNX Operators in Autograd > > > Key: SINGA-474 > URL: https://issues.apache.org/jira/browse/SINGA-474 > Project: Singa > Issue Type: Improvement >Reporter: Shicheng >Priority: Minor > Time Spent: 16h 20m > Remaining Estimate: 0h > > Implement ONNX Operators following > https://github.com/onnx/onnx/blob/master/docs/Operators.md -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-475) Implement ONNX Operators in Autograd - add new operators
[ https://issues.apache.org/jira/browse/SINGA-475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16907786#comment-16907786 ] ASF subversion and git services commented on SINGA-475: --- Commit b567ff99bb258b999ff7a0fc192c76f22b9991a4 in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=b567ff9 ] Merge pull request #513 from pinpom/div_new SINGA-475 add Div > Implement ONNX Operators in Autograd - add new operators > > > Key: SINGA-475 > URL: https://issues.apache.org/jira/browse/SINGA-475 > Project: Singa > Issue Type: Improvement > Components: PySINGA >Reporter: thao p nguyen >Priority: Minor > Time Spent: 4h 40m > Remaining Estimate: 0h > > Add more onnx operators implementation to Singa: > * Div > * Sub > * Pow > * Sign > * Sqrt > * Log -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-475) Implement ONNX Operators in Autograd - add new operators
[ https://issues.apache.org/jira/browse/SINGA-475?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16907785#comment-16907785 ] ASF subversion and git services commented on SINGA-475: --- Commit 7464fe8c484fd5947ef127e29f1b3221cee23aba in incubator-singa's branch refs/heads/master from pinpom [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=7464fe8 ] SINGA-475 add Div > Implement ONNX Operators in Autograd - add new operators > > > Key: SINGA-475 > URL: https://issues.apache.org/jira/browse/SINGA-475 > Project: Singa > Issue Type: Improvement > Components: PySINGA >Reporter: thao p nguyen >Priority: Minor > Time Spent: 4h 40m > Remaining Estimate: 0h > > Add more onnx operators implementation to Singa: > * Div > * Sub > * Pow > * Sign > * Sqrt > * Log -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-474) Implement ONNX Operators in Autograd
[ https://issues.apache.org/jira/browse/SINGA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16907781#comment-16907781 ] ASF subversion and git services commented on SINGA-474: --- Commit 08d7445cc3566e87aabd8048b3b53fbecd90c614 in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=08d7445 ] Merge pull request #512 from ShichengChen/unsqueeze SINGA-474 unsqueeze operator > Implement ONNX Operators in Autograd > > > Key: SINGA-474 > URL: https://issues.apache.org/jira/browse/SINGA-474 > Project: Singa > Issue Type: Improvement >Reporter: Shicheng >Priority: Minor > Time Spent: 15h 40m > Remaining Estimate: 0h > > Implement ONNX Operators following > https://github.com/onnx/onnx/blob/master/docs/Operators.md -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-474) Implement ONNX Operators in Autograd
[ https://issues.apache.org/jira/browse/SINGA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16907780#comment-16907780 ] ASF subversion and git services commented on SINGA-474: --- Commit 8171ccd466510928e7be7d0fd54c3efa0480a47f in incubator-singa's branch refs/heads/master from ShichengChen [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=8171ccd ] SINGA-474 unsqueeze operator > Implement ONNX Operators in Autograd > > > Key: SINGA-474 > URL: https://issues.apache.org/jira/browse/SINGA-474 > Project: Singa > Issue Type: Improvement >Reporter: Shicheng >Priority: Minor > Time Spent: 15h 40m > Remaining Estimate: 0h > > Implement ONNX Operators following > https://github.com/onnx/onnx/blob/master/docs/Operators.md -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-474) Implement ONNX Operators in Autograd
[ https://issues.apache.org/jira/browse/SINGA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16907742#comment-16907742 ] ASF subversion and git services commented on SINGA-474: --- Commit c26e7692a273d6ee37ac68c48e20768d4ee1e262 in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=c26e769 ] Merge pull request #505 from ShichengChen/sum SINGA-474 sum operator > Implement ONNX Operators in Autograd > > > Key: SINGA-474 > URL: https://issues.apache.org/jira/browse/SINGA-474 > Project: Singa > Issue Type: Improvement >Reporter: Shicheng >Priority: Minor > Time Spent: 15.5h > Remaining Estimate: 0h > > Implement ONNX Operators following > https://github.com/onnx/onnx/blob/master/docs/Operators.md -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-474) Implement ONNX Operators in Autograd
[ https://issues.apache.org/jira/browse/SINGA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16907741#comment-16907741 ] ASF subversion and git services commented on SINGA-474: --- Commit a43f293d8b5f064e3e087cf1b504f052f0223777 in incubator-singa's branch refs/heads/master from ShichengChen [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=a43f293 ] SINGA-474 sum operator > Implement ONNX Operators in Autograd > > > Key: SINGA-474 > URL: https://issues.apache.org/jira/browse/SINGA-474 > Project: Singa > Issue Type: Improvement >Reporter: Shicheng >Priority: Minor > Time Spent: 15.5h > Remaining Estimate: 0h > > Implement ONNX Operators following > https://github.com/onnx/onnx/blob/master/docs/Operators.md -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-474) Implement ONNX Operators in Autograd
[ https://issues.apache.org/jira/browse/SINGA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16907737#comment-16907737 ] ASF subversion and git services commented on SINGA-474: --- Commit d0435a0193aa062e9aff729a2a232506545c846a in incubator-singa's branch refs/heads/master from ShichengChen [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=d0435a0 ] SINGA-474 mean operator > Implement ONNX Operators in Autograd > > > Key: SINGA-474 > URL: https://issues.apache.org/jira/browse/SINGA-474 > Project: Singa > Issue Type: Improvement >Reporter: Shicheng >Priority: Minor > Time Spent: 15h 20m > Remaining Estimate: 0h > > Implement ONNX Operators following > https://github.com/onnx/onnx/blob/master/docs/Operators.md -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-474) Implement ONNX Operators in Autograd
[ https://issues.apache.org/jira/browse/SINGA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16907739#comment-16907739 ] ASF subversion and git services commented on SINGA-474: --- Commit 0062a125513481782f864280bf57f81c33eab709 in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=0062a12 ] Merge pull request #496 from ShichengChen/mean SINGA-474 Mean operator > Implement ONNX Operators in Autograd > > > Key: SINGA-474 > URL: https://issues.apache.org/jira/browse/SINGA-474 > Project: Singa > Issue Type: Improvement >Reporter: Shicheng >Priority: Minor > Time Spent: 15h 20m > Remaining Estimate: 0h > > Implement ONNX Operators following > https://github.com/onnx/onnx/blob/master/docs/Operators.md -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-474) Implement ONNX Operators in Autograd
[ https://issues.apache.org/jira/browse/SINGA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16907731#comment-16907731 ] ASF subversion and git services commented on SINGA-474: --- Commit 8279235eb88facd4d649064ad13350ae3fffc98d in incubator-singa's branch refs/heads/master from ShichengChen [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=8279235 ] SINGA-474 clip operator > Implement ONNX Operators in Autograd > > > Key: SINGA-474 > URL: https://issues.apache.org/jira/browse/SINGA-474 > Project: Singa > Issue Type: Improvement >Reporter: Shicheng >Priority: Minor > Time Spent: 15h > Remaining Estimate: 0h > > Implement ONNX Operators following > https://github.com/onnx/onnx/blob/master/docs/Operators.md -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-474) Implement ONNX Operators in Autograd
[ https://issues.apache.org/jira/browse/SINGA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16907735#comment-16907735 ] ASF subversion and git services commented on SINGA-474: --- Commit 76ca6497eed508b682da6961b84e168eca6710a9 in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=76ca649 ] Merge pull request #481 from ShichengChen/greater SINGA-474 greater operator > Implement ONNX Operators in Autograd > > > Key: SINGA-474 > URL: https://issues.apache.org/jira/browse/SINGA-474 > Project: Singa > Issue Type: Improvement >Reporter: Shicheng >Priority: Minor > Time Spent: 15h 10m > Remaining Estimate: 0h > > Implement ONNX Operators following > https://github.com/onnx/onnx/blob/master/docs/Operators.md -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-474) Implement ONNX Operators in Autograd
[ https://issues.apache.org/jira/browse/SINGA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16907734#comment-16907734 ] ASF subversion and git services commented on SINGA-474: --- Commit 153c6235e1f289794794caded5604140faba13d1 in incubator-singa's branch refs/heads/master from ShichengChen [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=153c623 ] SINGA-474 greater operator > Implement ONNX Operators in Autograd > > > Key: SINGA-474 > URL: https://issues.apache.org/jira/browse/SINGA-474 > Project: Singa > Issue Type: Improvement >Reporter: Shicheng >Priority: Minor > Time Spent: 15h 10m > Remaining Estimate: 0h > > Implement ONNX Operators following > https://github.com/onnx/onnx/blob/master/docs/Operators.md -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-474) Implement ONNX Operators in Autograd
[ https://issues.apache.org/jira/browse/SINGA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16907729#comment-16907729 ] ASF subversion and git services commented on SINGA-474: --- Commit c836a83d06120fab0a3016518d09526fba8958e6 in incubator-singa's branch refs/heads/master from ShichengChen [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=c836a83 ] SINGA-474 clip operator > Implement ONNX Operators in Autograd > > > Key: SINGA-474 > URL: https://issues.apache.org/jira/browse/SINGA-474 > Project: Singa > Issue Type: Improvement >Reporter: Shicheng >Priority: Minor > Time Spent: 15h > Remaining Estimate: 0h > > Implement ONNX Operators following > https://github.com/onnx/onnx/blob/master/docs/Operators.md -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-474) Implement ONNX Operators in Autograd
[ https://issues.apache.org/jira/browse/SINGA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16907727#comment-16907727 ] ASF subversion and git services commented on SINGA-474: --- Commit 37e4b96cad63f81fefa84ff38be48f310362f77d in incubator-singa's branch refs/heads/master from ShichengChen [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=37e4b96 ] SINGA-474 transpose operator > Implement ONNX Operators in Autograd > > > Key: SINGA-474 > URL: https://issues.apache.org/jira/browse/SINGA-474 > Project: Singa > Issue Type: Improvement >Reporter: Shicheng >Priority: Minor > Time Spent: 14h 50m > Remaining Estimate: 0h > > Implement ONNX Operators following > https://github.com/onnx/onnx/blob/master/docs/Operators.md -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-474) Implement ONNX Operators in Autograd
[ https://issues.apache.org/jira/browse/SINGA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16907728#comment-16907728 ] ASF subversion and git services commented on SINGA-474: --- Commit ae0485a864b68998ece69bb9e21e65e3db7c420a in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=ae0485a ] Merge pull request #508 from ShichengChen/transpose SINGA-474 transpose operator > Implement ONNX Operators in Autograd > > > Key: SINGA-474 > URL: https://issues.apache.org/jira/browse/SINGA-474 > Project: Singa > Issue Type: Improvement >Reporter: Shicheng >Priority: Minor > Time Spent: 14h 50m > Remaining Estimate: 0h > > Implement ONNX Operators following > https://github.com/onnx/onnx/blob/master/docs/Operators.md -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-474) Implement ONNX Operators in Autograd
[ https://issues.apache.org/jira/browse/SINGA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16907058#comment-16907058 ] ASF subversion and git services commented on SINGA-474: --- Commit 1a4621f278098c53ed51921a0ff269de06948bc7 in incubator-singa's branch refs/heads/master from ShichengChen [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=1a4621f ] SINGA-474 identity operator, change backward test > Implement ONNX Operators in Autograd > > > Key: SINGA-474 > URL: https://issues.apache.org/jira/browse/SINGA-474 > Project: Singa > Issue Type: Improvement >Reporter: Shicheng >Priority: Minor > Time Spent: 13h > Remaining Estimate: 0h > > Implement ONNX Operators following > https://github.com/onnx/onnx/blob/master/docs/Operators.md -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-474) Implement ONNX Operators in Autograd
[ https://issues.apache.org/jira/browse/SINGA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16907057#comment-16907057 ] ASF subversion and git services commented on SINGA-474: --- Commit 5f3b88bb7b5897e81856c7a30f6ebcea872d9ee5 in incubator-singa's branch refs/heads/master from ShichengChen [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=5f3b88b ] SINGA-474 identity operator > Implement ONNX Operators in Autograd > > > Key: SINGA-474 > URL: https://issues.apache.org/jira/browse/SINGA-474 > Project: Singa > Issue Type: Improvement >Reporter: Shicheng >Priority: Minor > Time Spent: 13h > Remaining Estimate: 0h > > Implement ONNX Operators following > https://github.com/onnx/onnx/blob/master/docs/Operators.md -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-474) Implement ONNX Operators in Autograd
[ https://issues.apache.org/jira/browse/SINGA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16907060#comment-16907060 ] ASF subversion and git services commented on SINGA-474: --- Commit 4d757fa250bd0ee0024651a95022fce40d721479 in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=4d757fa ] Merge pull request #483 from ShichengChen/Identity SINGA-474 identity operator > Implement ONNX Operators in Autograd > > > Key: SINGA-474 > URL: https://issues.apache.org/jira/browse/SINGA-474 > Project: Singa > Issue Type: Improvement >Reporter: Shicheng >Priority: Minor > Time Spent: 13h > Remaining Estimate: 0h > > Implement ONNX Operators following > https://github.com/onnx/onnx/blob/master/docs/Operators.md -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-474) Implement ONNX Operators in Autograd
[ https://issues.apache.org/jira/browse/SINGA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16907051#comment-16907051 ] ASF subversion and git services commented on SINGA-474: --- Commit 9a05d99cbc9a2083958a598dc0817ee81568b294 in incubator-singa's branch refs/heads/master from ShichengChen [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=9a05d99 ] SINGA-474 less operator > Implement ONNX Operators in Autograd > > > Key: SINGA-474 > URL: https://issues.apache.org/jira/browse/SINGA-474 > Project: Singa > Issue Type: Improvement >Reporter: Shicheng >Priority: Minor > Time Spent: 12h 50m > Remaining Estimate: 0h > > Implement ONNX Operators following > https://github.com/onnx/onnx/blob/master/docs/Operators.md -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-474) Implement ONNX Operators in Autograd
[ https://issues.apache.org/jira/browse/SINGA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16907052#comment-16907052 ] ASF subversion and git services commented on SINGA-474: --- Commit 0ed4d141e7e6c8a3a1a4711447817a3988ad0513 in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=0ed4d14 ] Merge pull request #491 from ShichengChen/less SINGA-474 less operator > Implement ONNX Operators in Autograd > > > Key: SINGA-474 > URL: https://issues.apache.org/jira/browse/SINGA-474 > Project: Singa > Issue Type: Improvement >Reporter: Shicheng >Priority: Minor > Time Spent: 12h 50m > Remaining Estimate: 0h > > Implement ONNX Operators following > https://github.com/onnx/onnx/blob/master/docs/Operators.md -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-474) Implement ONNX Operators in Autograd
[ https://issues.apache.org/jira/browse/SINGA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16907031#comment-16907031 ] ASF subversion and git services commented on SINGA-474: --- Commit 8016802c4ea56ad50021c0fbb516c0fb7a94d290 in incubator-singa's branch refs/heads/master from ShichengChen [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=8016802 ] SINGA-474 mul operator, modified backward test > Implement ONNX Operators in Autograd > > > Key: SINGA-474 > URL: https://issues.apache.org/jira/browse/SINGA-474 > Project: Singa > Issue Type: Improvement >Reporter: Shicheng >Priority: Minor > Time Spent: 12h > Remaining Estimate: 0h > > Implement ONNX Operators following > https://github.com/onnx/onnx/blob/master/docs/Operators.md -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-474) Implement ONNX Operators in Autograd
[ https://issues.apache.org/jira/browse/SINGA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16907030#comment-16907030 ] ASF subversion and git services commented on SINGA-474: --- Commit 0ec37ea7e38cf03b1533db47b91255a13526dace in incubator-singa's branch refs/heads/master from ShichengChen [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=0ec37ea ] SINGA-474 mul operator > Implement ONNX Operators in Autograd > > > Key: SINGA-474 > URL: https://issues.apache.org/jira/browse/SINGA-474 > Project: Singa > Issue Type: Improvement >Reporter: Shicheng >Priority: Minor > Time Spent: 12h > Remaining Estimate: 0h > > Implement ONNX Operators following > https://github.com/onnx/onnx/blob/master/docs/Operators.md -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-474) Implement ONNX Operators in Autograd
[ https://issues.apache.org/jira/browse/SINGA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16906790#comment-16906790 ] ASF subversion and git services commented on SINGA-474: --- Commit 8a32213df0b5777648a3bfb32a3a3fa10da24514 in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=8a32213 ] Merge pull request #507 from ShichengChen/reshape SINGA-474 reshape operator > Implement ONNX Operators in Autograd > > > Key: SINGA-474 > URL: https://issues.apache.org/jira/browse/SINGA-474 > Project: Singa > Issue Type: Improvement >Reporter: Shicheng >Priority: Minor > Time Spent: 10h 20m > Remaining Estimate: 0h > > Implement ONNX Operators following > https://github.com/onnx/onnx/blob/master/docs/Operators.md -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-474) Implement ONNX Operators in Autograd
[ https://issues.apache.org/jira/browse/SINGA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16906788#comment-16906788 ] ASF subversion and git services commented on SINGA-474: --- Commit 1a6ca7a92c6bf933d8131fe77e0c1ab538bef8cb in incubator-singa's branch refs/heads/master from ShichengChen [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=1a6ca7a ] SINGA-474 reshape operator > Implement ONNX Operators in Autograd > > > Key: SINGA-474 > URL: https://issues.apache.org/jira/browse/SINGA-474 > Project: Singa > Issue Type: Improvement >Reporter: Shicheng >Priority: Minor > Time Spent: 10h 20m > Remaining Estimate: 0h > > Implement ONNX Operators following > https://github.com/onnx/onnx/blob/master/docs/Operators.md -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-474) Implement ONNX Operators in Autograd
[ https://issues.apache.org/jira/browse/SINGA-474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16906789#comment-16906789 ] ASF subversion and git services commented on SINGA-474: --- Commit 03e06a917e292176f116c9b4a7f6100497cbae9a in incubator-singa's branch refs/heads/master from ShichengChen [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=03e06a9 ] SINGA-474 reshape operator > Implement ONNX Operators in Autograd > > > Key: SINGA-474 > URL: https://issues.apache.org/jira/browse/SINGA-474 > Project: Singa > Issue Type: Improvement >Reporter: Shicheng >Priority: Minor > Time Spent: 10h 20m > Remaining Estimate: 0h > > Implement ONNX Operators following > https://github.com/onnx/onnx/blob/master/docs/Operators.md -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-480) Update documentations
[ https://issues.apache.org/jira/browse/SINGA-480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16904399#comment-16904399 ] ASF subversion and git services commented on SINGA-480: --- Commit 7a6330e51bbf8efe2ba3f6b9768795f2081a795a in incubator-singa's branch refs/heads/master from wangwei [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=7a6330e ] SINGA-480 Update documentations reorganize the pages > Update documentations > - > > Key: SINGA-480 > URL: https://issues.apache.org/jira/browse/SINGA-480 > Project: Singa > Issue Type: Improvement >Reporter: wangwei >Priority: Major > > # re-organize some folders, e.g., split the installation page into two pages, > i.e., installation and building pages. The installation page is in docs > folder and building page is in development folder. > # update the website building page with more details. > # hide some outdated pages, e.g., layer, loss, metrics, etc. -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-480) Update documentations
[ https://issues.apache.org/jira/browse/SINGA-480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16904400#comment-16904400 ] ASF subversion and git services commented on SINGA-480: --- Commit 806dbe7d0675db766673da18f5006460de3ae009 in incubator-singa's branch refs/heads/master from Kaiping Zheng [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=806dbe7 ] Merge pull request #501 from nudles/SINGA-480 Singa 480 Update documentations > Update documentations > - > > Key: SINGA-480 > URL: https://issues.apache.org/jira/browse/SINGA-480 > Project: Singa > Issue Type: Improvement >Reporter: wangwei >Priority: Major > > # re-organize some folders, e.g., split the installation page into two pages, > i.e., installation and building pages. The installation page is in docs > folder and building page is in development folder. > # update the website building page with more details. > # hide some outdated pages, e.g., layer, loss, metrics, etc. -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-480) Update documentations
[ https://issues.apache.org/jira/browse/SINGA-480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16904397#comment-16904397 ] ASF subversion and git services commented on SINGA-480: --- Commit 021f646317be25444ec1c0ca27fea2ab31eef137 in incubator-singa's branch refs/heads/master from Wang Wei [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=021f646 ] SINGA-480 Update documentations Add more details on how to make contributions to the documentation. > Update documentations > - > > Key: SINGA-480 > URL: https://issues.apache.org/jira/browse/SINGA-480 > Project: Singa > Issue Type: Improvement >Reporter: wangwei >Priority: Major > > # re-organize some folders, e.g., split the installation page into two pages, > i.e., installation and building pages. The installation page is in docs > folder and building page is in development folder. > # update the website building page with more details. > # hide some outdated pages, e.g., layer, loss, metrics, etc. -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-480) Update documentations
[ https://issues.apache.org/jira/browse/SINGA-480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16904398#comment-16904398 ] ASF subversion and git services commented on SINGA-480: --- Commit 80948aa4eec05776756f6cd733949a604e0efaf2 in incubator-singa's branch refs/heads/master from wangwei [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=80948aa ] SINGA-480 Update documentations update installation instructions; move the instructions on building from source into build.md > Update documentations > - > > Key: SINGA-480 > URL: https://issues.apache.org/jira/browse/SINGA-480 > Project: Singa > Issue Type: Improvement >Reporter: wangwei >Priority: Major > > # re-organize some folders, e.g., split the installation page into two pages, > i.e., installation and building pages. The installation page is in docs > folder and building page is in development folder. > # update the website building page with more details. > # hide some outdated pages, e.g., layer, loss, metrics, etc. -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-478) Python 3 uses __itruediv__ instead of __idiv__
[ https://issues.apache.org/jira/browse/SINGA-478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16903750#comment-16903750 ] ASF subversion and git services commented on SINGA-478: --- Commit 6d1f90e0d2d6f4cfa5efbb858e71e8249d67cb1f in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=6d1f90e ] Merge pull request #500 from chrishkchris/SINGA-478 SINGA-478 (Python 3 uses __itruediv__ instead of __idiv__) > Python 3 uses __itruediv__ instead of __idiv__ > -- > > Key: SINGA-478 > URL: https://issues.apache.org/jira/browse/SINGA-478 > Project: Singa > Issue Type: Improvement > Components: Core >Reporter: YEUNG SAI HO >Priority: Major > Time Spent: 1h 20m > Remaining Estimate: 0h > > We need to add __itruediv__ in tensor.py because the original __idiv__ is > not supported by python 3 anymore. > > To understand the problem, let's study the following code first: > {code:java} > from singa import tensor > from singa import device > import numpy as np > Y = np.ones(shape=[10],dtype=np.float32) * 10.0 > y = tensor.from_numpy(Y) > y.to_device(device.get_default_device()) > def divide(y): > y /= 10 > divide(y) > print(tensor.to_numpy(y)) > {code} > Without adding the {color:#33}__itruediv__{color} function, the result > is as follows, which means that the /= operation is not in place: > {code:java} > [10. 10. 10. 10. 10. 10. 10. 10. 10. 10.] > {code} > After adding the __itruediv__ function, the result is as follows, which means > that the /= operation is in place: > {code:java} > [1. 1. 1. 1. 1. 1. 1. 1. 1. 1.] > {code} > This is because the {color:#33}__idiv__ operation is for python 2, while > __itruediv__ is for python 3. Therefore, if we do not add the __itruediv__ > operator in tensor.py, it just uses a default operation which is not in > place.{color} > > -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-473) Implement ONNX Operators in Autograd: Trigonometry functions
[ https://issues.apache.org/jira/browse/SINGA-473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16903747#comment-16903747 ] ASF subversion and git services commented on SINGA-473: --- Commit 9daeb9e1b13e18db437080785288997bb67f216c in incubator-singa's branch refs/heads/master from chrishkchris [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=9daeb9e ] Merge pull request #1 from apache/master SINGA-473 > Implement ONNX Operators in Autograd: Trigonometry functions > > > Key: SINGA-473 > URL: https://issues.apache.org/jira/browse/SINGA-473 > Project: Singa > Issue Type: New Feature > Components: Module >Reporter: YEUNG SAI HO >Priority: Major > Time Spent: 1.5h > Remaining Estimate: 0h > > The Open Neural Network Exchange (ONNX) is a format for interchanging neural > network models between AI systems. There is a list of ONNX operators defined > in https://github.com/onnx/onnx/blob/master/docs/Operators.md > We are going to implement more ONNX operators in our Autograd module > (incubator-singa/python/singa/autograd.py). First of all, this ticket > implements 11 unary Trigonometry functions in the Autograd module, which are: > 1. cos > 2. cosh > 3. sin > 4. sinh > 5. tan > 6. acos > 7. acosh > 8. asin > 9. asinh > 10. atan > 11. atanh -- This message was sent by Atlassian JIRA (v7.6.14#76016)
[jira] [Commented] (SINGA-478) Python 3 uses __itruediv__ instead of __idiv__
[ https://issues.apache.org/jira/browse/SINGA-478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16903751#comment-16903751 ] ASF subversion and git services commented on SINGA-478: --- Commit 6d1f90e0d2d6f4cfa5efbb858e71e8249d67cb1f in incubator-singa's branch refs/heads/master from Wei Wang [ https://gitbox.apache.org/repos/asf?p=incubator-singa.git;h=6d1f90e ] Merge pull request #500 from chrishkchris/SINGA-478 SINGA-478 (Python 3 uses __itruediv__ instead of __idiv__) > Python 3 uses __itruediv__ instead of __idiv__ > -- > > Key: SINGA-478 > URL: https://issues.apache.org/jira/browse/SINGA-478 > Project: Singa > Issue Type: Improvement > Components: Core >Reporter: YEUNG SAI HO >Priority: Major > Time Spent: 1h 20m > Remaining Estimate: 0h > > We need to add __itruediv__ in tensor.py because the original __idiv__ is > not supported by python 3 anymore. > > To understand the problem, let's study the following code first: > {code:java} > from singa import tensor > from singa import device > import numpy as np > Y = np.ones(shape=[10],dtype=np.float32) * 10.0 > y = tensor.from_numpy(Y) > y.to_device(device.get_default_device()) > def divide(y): > y /= 10 > divide(y) > print(tensor.to_numpy(y)) > {code} > Without adding the {color:#33}__itruediv__{color} function, the result > is as follows, which means that the /= operation is not in place: > {code:java} > [10. 10. 10. 10. 10. 10. 10. 10. 10. 10.] > {code} > After adding the __itruediv__ function, the result is as follows, which means > that the /= operation is in place: > {code:java} > [1. 1. 1. 1. 1. 1. 1. 1. 1. 1.] > {code} > This is because the {color:#33}__idiv__ operation is for python 2, while > __itruediv__ is for python 3. Therefore, if we do not add the __itruediv__ > operator in tensor.py, it just uses a default operation which is not in > place.{color} > > -- This message was sent by Atlassian JIRA (v7.6.14#76016)