This is my solution code for the week 3 Tensorflow introduction assignment :
[Removed solution code]
But I am getting the following error : ---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
in
1 result = sigmoid(-1)
2 print ("type: " + str(type(result)))
----> 3 print ("dtype: " + str(result.dtype))
4 print ("sigmoid(-1) = " + str(result))
5 print ("sigmoid(0) = " + str(sigmoid(0.0)))
AttributeError: ‘NoneType’ object has no attribute ‘dtype’
Can someone please spot the mistake !!