In general, w and a are vectors, so the multiplication operator is a dot product. The result of the dot product of two vectors is a scalar (by definition).
This result is then passed through the function g(), which traditionally means sigmoid.
In general, w and a are vectors, so the multiplication operator is a dot product. The result of the dot product of two vectors is a scalar (by definition).
This result is then passed through the function g(), which traditionally means sigmoid.