sustaining_gazes/matlab_version/face_validation/DeepLearnToolbox/util/sigm.m

3 lines
48 B
Mathematica
Raw Normal View History

2016-04-28 21:40:36 +02:00
function X = sigm(P)
X = 1./(1+exp(-P));
end