Changeset 40325 for trunk/Ohana/src/opihi/cmd.data/nnet_commands.c
- Timestamp:
- Jan 27, 2018, 1:09:32 PM (8 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/cmd.data/nnet_commands.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/cmd.data/nnet_commands.c
r40320 r40325 36 36 int nnet_create (int argc, char **argv) { 37 37 38 int N; 39 40 int LargeWeightInit = FALSE; 41 if ((N = get_argument (argc, argv, "-large-weight-initializer"))) { 42 remove_argument (N, &argc, argv); 43 LargeWeightInit = TRUE; 44 } 45 38 46 if (argc < 4) { 39 47 gprint (GP_ERR, "USAGE: nnet create (nnet) (Ninput) [Nnodes] [Nnodes] ... (Noutput)\n"); … … 52 60 53 61 // allocate the vector and matrix data arrays (and init) 54 CreateNnetData (nnet );62 CreateNnetData (nnet, LargeWeightInit); 55 63 56 64 return TRUE;
Note:
See TracChangeset
for help on using the changeset viewer.
