Open lrq1023 opened 2 months ago
return 0.5 (1.0 + ops.tanh(ms.numpy.sqrt(2.0 / ms.numpy.pi) (x + 0.044715 * ops.pow(x, 3))))
return 0.5 (1.0 + ops.tanh(Tensor(np.sqrt(2.0 / np.pi)) (x + 0.044715 * ops.pow(x, 3))))
return 0.5 (1.0 + ops.tanh(ms.numpy.sqrt(2.0 / ms.numpy.pi) (x + 0.044715 * ops.pow(x, 3))))