diff options
author | Determinant <[email protected]> | 2015-06-10 20:42:10 +0800 |
---|---|---|
committer | Determinant <[email protected]> | 2015-06-10 20:42:10 +0800 |
commit | b818c2562d07a69083377cbc34f2add108e9fa66 (patch) | |
tree | a595ce4f269035951715334d2942d91d42ae236e /matrix/mmatrix.c | |
parent | c20af45d0756d5d3004105da10e51d42a382ad66 (diff) |
add CombinerLayer to support branches in NN; add MSELayer
Diffstat (limited to 'matrix/mmatrix.c')
-rw-r--r-- | matrix/mmatrix.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/matrix/mmatrix.c b/matrix/mmatrix.c index ffc058d..d1d68b9 100644 --- a/matrix/mmatrix.c +++ b/matrix/mmatrix.c @@ -1,10 +1,12 @@ #define NERV_GENERIC_MMATRIX +#include <stdlib.h> #include "../common.h" void nerv_matrix_host_float_init(lua_State *L); void nerv_matrix_host_double_init(lua_State *L); void nerv_matrix_host_int_init(lua_State *L); void nerv_mmatrix_init(lua_State *L) { + srand(1); nerv_matrix_host_float_init(L); nerv_matrix_host_double_init(L); nerv_matrix_host_int_init(L); |