You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@singa.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/11/17 06:04:58 UTC

[jira] [Commented] (SINGA-269) Fix a bug from tensor multiplication and a typo

    [ https://issues.apache.org/jira/browse/SINGA-269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15672878#comment-15672878 ] 

ASF subversion and git services commented on SINGA-269:
-------------------------------------------------------

Commit 22d98bb72494bff8a03d44155b8808ddfa1bcd5b in incubator-singa's branch refs/heads/master from [~flytosky]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-singa.git;h=22d98bb ]

SINGA-269 - Fix a bug from tensor multiplication and a typo

Fix the error from tensor * float;
Fix the typo of 'delimeter' (should be 'delimiter') in data.py


> Fix a bug from tensor multiplication and a typo
> -----------------------------------------------
>
>                 Key: SINGA-269
>                 URL: https://issues.apache.org/jira/browse/SINGA-269
>             Project: Singa
>          Issue Type: Bug
>            Reporter: wangwei
>
> There is a bug (reported by Moaz) in the following python expression
> {code}
> a = tensor.from_numpy(a)  # a is a numpy array
> b = a * 3.4
> {code}
> Because __mul__ doesn't call the correct C++ function.
> There is a typo in the data.py : delimeter->delimiter.
> After fixing this issue, examples using data.py should update that argument to use 'delimiter'.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)