[
https://issues.apache.org/jira/browse/SINGA-245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15474066#comment-15474066
]
ASF subversion and git services commented on SINGA-245:
-------------------------------------------------------
Commit 0ebce1a44913dc760f3f6398b34fa45b3dcca5e8 in incubator-singa's branch
refs/heads/master from [~wangwei.cs]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-singa.git;h=0ebce1a ]
SINGA-245 Float as the first operand can not multiply with a tensor object
Add reverse add/sub/mult/div for float-tensor operations.
add unit tests in test_tensor.py
> float as the first operand can not multiply with a tensor object
> ----------------------------------------------------------------
>
> Key: SINGA-245
> URL: https://issues.apache.org/jira/browse/SINGA-245
> Project: Singa
> Issue Type: Bug
> Reporter: RUAN PINGCHENG
> Priority: Minor
>
> E,g
> a = 0.5 # a is a float
> b = tensor.Tensor() # b is a tensor object
> a * b will raise an exception for an unsupported operation.
> However, b * a can work correctly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)