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/07/01 08:25:11 UTC

[jira] [Commented] (SINGA-186) Create Python Tensor class

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

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

Commit 7cfdb995cd32624779330fb336a2771da9a5ba00 in incubator-singa's branch refs/heads/dev from chonho
[ https://git-wip-us.apache.org/repos/asf?p=incubator-singa.git;h=7cfdb99 ]

SINGA-186 Create Python Tensor class

- Update core_tensor.i, tensor.py to take care of the following methods
  . Random operations
  . Axpy
  . Mult
  . Pow
  . AddColumn, SubColumn, MultColumn, DivColumn, and xxxRow, etc.
  . SumColumns, SumRows

- Revised model_layer.i, layer.h to take care of Shape (std::vector)

TODO: from_array() in python


> Create Python Tensor class
> --------------------------
>
>                 Key: SINGA-186
>                 URL: https://issues.apache.org/jira/browse/SINGA-186
>             Project: Singa
>          Issue Type: New Feature
>            Reporter: wangwei
>            Assignee: wangwei
>
> This ticket would add a Python Tensor class, which provides functions as the C++ Tensor class with APIs in Python convention. Most of these functions are implemented by calling the C++ Tensor functions via Swig.



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