@hasanOryx wrote:
I’ve the below function
sigmoid(z::Real) = one(z) / (one(z) + exp(-z))
And want to broadcast it for all the element of x, where:
X = [ [1, 2, 3], [3, 4, 5], [5, 6, 7] ]
I tried the normal way but failed
sigmoid.(X)
Posts: 17
Participants: 5