Ejemplo n.º 1
0
 def calculate(self, w=None, x=None):
     v = w.dot(x)
     y = Sigmoid.tanh(a=1, b=1, x=v)
     return v, y