| 36 | } |
| 37 | |
| 38 | void NewGraph(ComputationGraph& cg) { |
| 39 | W = parameter(cg, pW); |
| 40 | b = parameter(cg, pb); |
| 41 | V = parameter(cg, pV); |
| 42 | a = parameter(cg, pa); |
| 43 | } |
| 44 | |
| 45 | float Train(const vector<dynet::real>& input, dynet::real gold_output, SimpleSGDTrainer& trainer) { |
| 46 | ComputationGraph cg; |
nothing calls this directly
no test coverage detected