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

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

Commit 4664b6bb351c6a48a19c52b5c559dde76bf3002b in incubator-singa's branch 
refs/heads/master from WANG Sheng
[ https://git-wip-us.apache.org/repos/asf?p=incubator-singa.git;h=4664b6b ]

SINGA-106 Add dummy layer for test purpose

Dummy layer can be used as input, neuron, output layer to construct a simple
neuralnet when only focusing on testing a specific layer

* Use as neuron layer (default):
  In compute feautre, it copy srclayer's data to its own data blob
  In compute feature, it copy its own grad blob to srclayer's grad

* Use as input layer:
  It will create data and config blobs as configed.
  In compute feature, it randomly set values in data_ to [0,1]
  To use:
  - set dummy_conf.input as true
  - add dummy_conf.shape

* Use as output layer:
  In compute feature, it randomly set values in grad_ to [0,1]
  To use:
  - set dummy_conf.output as true


> Add dummy layer for test purpose
> --------------------------------
>
>                 Key: SINGA-106
>                 URL: https://issues.apache.org/jira/browse/SINGA-106
>             Project: Singa
>          Issue Type: New Feature
>            Reporter: Sheng Wang
>            Priority: Minor
>
> Add a dummy layer can make gtest much easier to support layer unit test.
> The dummy layer can be used as input layer, neuron layer or output layer to 
> construct a complete neuralnet, when we only focusing on testing a specific 
> layer.



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

Reply via email to