ZHAOJING created SINGA-14:
-----------------------------

             Summary: update layer API to be general for different models
                 Key: SINGA-14
                 URL: https://issues.apache.org/jira/browse/SINGA-14
             Project: Singa
          Issue Type: Improvement
            Reporter: ZHAOJING
            Assignee: ZHAOJING


Replace the boolean type variable "training" in ComputeFeature function (and 
other functions) with Phase type variable "phase". This update is to support 
the training of different models, e.g., RBM, and feed forward models like CNN. 
Phase can be kTrain (for training phase), kTest (for test phase), kPositive 
(for positive phase of the contrastive divergence algorithm), etc.



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

Reply via email to