diff options
author | Determinant <[email protected]> | 2015-06-22 19:01:29 +0800 |
---|---|---|
committer | Determinant <[email protected]> | 2015-06-22 19:01:29 +0800 |
commit | 2497fd9e7a0fae5ee4887890d7a312e0e08a93b8 (patch) | |
tree | 382f97575bd2df9ee6abb1662b11b279fc22d72b /doc/nerv_param.md | |
parent | 196e9b48a3541caccdffc5743001cced70667091 (diff) |
major change: use luarocks to manage project
Diffstat (limited to 'doc/nerv_param.md')
-rw-r--r-- | doc/nerv_param.md | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/doc/nerv_param.md b/doc/nerv_param.md deleted file mode 100644 index 167cb11..0000000 --- a/doc/nerv_param.md +++ /dev/null @@ -1,27 +0,0 @@ -#The Nerv Parameter Package# -Part of the [Nerv](../README.md) toolkit. - -##Description## -###Class hierarchy### -There is a base class __Nerv.Param__ defined in `layer/init.lua`. - -###Class hierarchy and their members### -* __nerv.MatrixParam__ inherits __nerv.Param__ - * `Matrix trans` stores the parameter matrix. -* __nerv.LinearTransParam__ inherits __Nerv.MatrixParam__. -* __Nerv.BiasParam__ inherits __Nerv.MatrixParam__. - -##Methods## -* __void Param.\_\_init(Param self, string id, table global_conf)__ -Constructor of a __Param__, it will set `self.id` to be `id` and `self.gconf` to be `global_conf`. -* __void Param.set_info(Param self, table info)__ -Set `self.info` to be `info`. -* __table Param.get_info(Param self)__ -Returns `self.info`. -* __void Param.read(Param self, ChunkData pcdata)__ -Abstract method. -In this method, `self` should in turn calls its members to load from `pcdata`. -* __void Param.write(Param self, ChunkFileHandle pfhandle)__ -Abstract method. -Save parameters to file. In this method, `self` should in turn calls its members to save to `pfhandle`. - |