You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@singa.apache.org by "Xue Wanqi (JIRA)" <ji...@apache.org> on 2018/06/29 03:23:00 UTC

[jira] [Created] (SINGA-377) Return wrong tensor device

Xue Wanqi created SINGA-377:
-------------------------------

             Summary: Return wrong tensor device 
                 Key: SINGA-377
                 URL: https://issues.apache.org/jira/browse/SINGA-377
             Project: Singa
          Issue Type: Bug
          Components: Core
            Reporter: Xue Wanqi


When call CTensor.device() in python, the returned value differed with the device which used to init the CTensor. 

For example, dev=device.get_default_devcie(), tensor=CTensor([1],dev), then dev and tensor.device() are different. What's more, calling tensor.device() twice, the returned values differed, swing in two different value.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)