FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
NEToolKit/NEToolKit/src/network/activation_functions.cpp at master · CBenoit/NEToolKit · GitHub
This repository was archived by the owner on Jul 1, 2021. It is now read-only.
CBenoit
/
NEToolKit
Public archive
Notifications
You must be signed in to change notification settings
Fork
2
Star
4
Code
Issues
0
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
NEToolKit
/
NEToolKit
/
src
/
network
/
activation_functions.cpp
Copy path
More file actions
More file actions
Latest commit
History
History
History
11 lines (8 loc) · 287 Bytes
Breadcrumbs
NEToolKit
/
NEToolKit
/
src
/
network
/
activation_functions.cpp
Copy path
File metadata and controls
11 lines (8 loc) · 287 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
#
include
<
cmath
>
#
include
"
netkit/network/activation_functions.h
"
netkit::
neuron_value_t
netkit::sigmoid
(
neuron_value_t
input) {
return
1
/ (
1
+
std::exp
(-input));
}
netkit::
neuron_value_t
netkit::steepened_sigmoid
(
neuron_value_t
input) {
return
1
/ (
1
+
std::exp
(-
4.9
* input));
}
Back
|
FazBrowse Home
|
New Git URL