- 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:
@@ -48,6 +48,7 @@ void Rbm::fromJson(Json::Value params)
|
||||
|
||||
Json::Value Rbm::toJson() const
|
||||
{
|
||||
std::cout << "Exporting Rbm" << std::endl;
|
||||
Json::Value rbm;
|
||||
rbm["numVisible"] = m_bv.n_elem;
|
||||
rbm["numHidden"] = m_bh.n_elem;
|
||||
|
||||
Reference in New Issue
Block a user