function res = simple_mlp_logsigfwd(mat)
% Logistic sigmoid activation function.
  res = 1 ./ (1 + exp(-1 * mat));
