摘要:
#encoding=utf8import randomimport numpy as npimport mathdef sigmoid(x): return 1. / (1 + np.exp(-x))def sigmoid_derivative(values): return values*(1-v 阅读全文
摘要:
#encoding=utf8import numpy as npfrom lstm import LstmParam, LstmNetworkclass ToyLossLayer: """ Computes square loss with first element of hidden layer 阅读全文