From 622661090f331a025088b19668d6616b314cf7a3 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Thu, 3 Sep 2020 06:35:28 +1000 Subject: [PATCH] docs: Fix simple typo, nnonlinearity -> nonlinearity There is a small typo in src/convnet_layers_nonlinearities.js. Should read `nonlinearity` rather than `nnonlinearity`. --- src/convnet_layers_nonlinearities.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/convnet_layers_nonlinearities.js b/src/convnet_layers_nonlinearities.js index 2123d98d..7c62352c 100644 --- a/src/convnet_layers_nonlinearities.js +++ b/src/convnet_layers_nonlinearities.js @@ -55,7 +55,7 @@ } } - // Implements Sigmoid nnonlinearity elementwise + // Implements Sigmoid nonlinearity elementwise // x -> 1/(1+e^(-x)) // so the output is between 0 and 1. var SigmoidLayer = function(opt) { @@ -109,7 +109,7 @@ } } - // Implements Maxout nnonlinearity that computes + // Implements Maxout nonlinearity that computes // x -> max(x) // where x is a vector of size group_size. Ideally of course, // the input size should be exactly divisible by group_size @@ -230,7 +230,7 @@ var y = Math.exp(2 * x); return (y - 1) / (y + 1); } - // Implements Tanh nnonlinearity elementwise + // Implements Tanh nonlinearity elementwise // x -> tanh(x) // so the output is between -1 and 1. var TanhLayer = function(opt) {