| 7 | using namespace std; |
| 8 | |
| 9 | double stepFunction(double x) |
| 10 | { |
| 11 | if(x>0.9){ |
| 12 | return 1.0; |
| 13 | } |
| 14 | if(x<0.1){ |
| 15 | return 0.0; |
| 16 | } |
| 17 | return x; |
| 18 | } |
| 19 | |
| 20 | RaceNet::RaceNet() : net(layerParams, learningRate) {} |
| 21 |
nothing calls this directly
no outgoing calls
no test coverage detected