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

3 lines
48 B
Mathematica

function X = sigm(P)
X = 1./(1+exp(-P));
end