| 18 | protected: |
| 19 | float scaledSigmoid(float value) const { return 2.0f / (1.0f + std::exp(-value)) - 1.0f; } |
| 20 | float binaryStep(float value) const { return value >= NEAR_ZERO ? 1.0f : 0.0f; } |
| 21 | }; |
| 22 | |
| 23 | TEST_F(NeuronTests, bias) |
nothing calls this directly
no outgoing calls
no test coverage detected