It is important to have a null default constructor for the class, as we would first need to read the class object from the file, followed by the dynet model which has saved parameters.
| 22 | // we would first need to read the class object from the file, followed by |
| 23 | // the dynet model which has saved parameters. |
| 24 | XORModel() {} |
| 25 | |
| 26 | XORModel(unsigned hidden_len, ParameterCollection& m) { |
| 27 | hidden_size = hidden_len; |
nothing calls this directly
no outgoing calls
no test coverage detected