You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@singa.apache.org by "wangwei (JIRA)" <ji...@apache.org> on 2015/09/04 02:47:45 UTC

[jira] [Created] (SINGA-65) Add an example of writing user-defined layers

wangwei created SINGA-65:
----------------------------

             Summary: Add an example of writing user-defined layers
                 Key: SINGA-65
                 URL: https://issues.apache.org/jira/browse/SINGA-65
             Project: Singa
          Issue Type: New Feature
            Reporter: wangwei


SINGA's code has been modularized to support user extension.
This ticket creates a full example of writing training using user defined layers.

This example has the same neural net as the deep MLP example for digits recognition over the MNIST dataset. Instead of using the built-in InnerProductLayer and STanhLayer, we create a HiddenLayer as user-defined layer which applies inner-product and scaled Tanh transformations together.
Makefile.example is provided to compile and link user code.



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