From 7a0d93ccc23228600eaa4d727a3acd510d2ad472 Mon Sep 17 00:00:00 2001 From: Martin Beseda <martinbeseda@seznam.cz> Date: Sat, 7 Jul 2018 15:05:13 +0200 Subject: [PATCH] FIX: Fixed comment --- src/Neuron/NeuronLinear.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Neuron/NeuronLinear.h b/src/Neuron/NeuronLinear.h index fbe854ea..10e92f27 100644 --- a/src/Neuron/NeuronLinear.h +++ b/src/Neuron/NeuronLinear.h @@ -46,8 +46,8 @@ public: * f(x) = b*x + a * @param[in] param_idx Index of the parameter to calculate derivative of * @return Partial derivative of the activation function according to the - * 'param_idx'-th parameter. For 'param_idx'=0 returns 'x', otherwise - * returns 1 + * 'param_idx'-th parameter. For 'param_idx'=0 returns 1, for 'param_idx=1' + * return 'x' and otherwise returns 0. */ double activation_function_get_partial_derivative(int param_idx) override; -- GitLab