SyntaxFix
Write A Post
Hire A Developer
Questions
You convert type np.dot(X, T) to float32 like this:
np.dot(X, T)
z=np.array(np.dot(X, T),dtype=np.float32)
def sigmoid(X, T): return (1.0 / (1.0 + np.exp(-z)))
Hopefully it will finally work!