Number recognition Tuning
This commit is contained in:
parent
826713c212
commit
fc20f3594d
3 changed files with 24 additions and 12 deletions
|
|
@ -22,9 +22,9 @@ static halnf relu(halnf val) { return val < 0 ? 0 : val; }
|
|||
|
||||
static halnf reluDerivative(halnf val) { return val < 0 ? 0 : 1; }
|
||||
|
||||
static halnf activationFunction(halnf val) { return relu(val); }
|
||||
static halnf activationFunction(halnf val) { return sigmoid(val); }
|
||||
|
||||
static halnf activationFunctionDerivative(halnf val) { return reluDerivative(val); }
|
||||
static halnf activationFunctionDerivative(halnf val) { return sigmoidDerivative(val); }
|
||||
|
||||
FCNN::FCNN(const Buffer<halni>& description) { initializeRandom(description); }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue