- rename Layer into RbmLayer
- add some log info on toJson() git-svn-id: http://moon:8086/svn/software/trunk/projects/Rbm@582 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
@@ -14,6 +14,8 @@
|
||||
#ifndef RBM_HPP
|
||||
#define RBM_HPP
|
||||
|
||||
#include <streambuf>
|
||||
|
||||
#include <armadillo>
|
||||
#include <jsoncpp/json/json.h>
|
||||
|
||||
@@ -38,6 +40,7 @@ public:
|
||||
|
||||
Json::Value toJson() const
|
||||
{
|
||||
std::cout << "Exporting Rbm::Params" << std::endl;
|
||||
Json::Value params;
|
||||
params["weightInit"] = weightInit;
|
||||
params["weightDecay"] = weightDecay;
|
||||
|
||||
Reference in New Issue
Block a user