          self.nI = nI
          self.nF = nF
  
      def begin_update(self, X, drop=0.):
          Yf = self.ops.xp.dot(X,
              self.W.reshape((self.nF*self.nO*self.nP, self.nI)).T)
          Yf = Yf.reshape((Yf.shape[0], self.nF, self.nO, self.nP))
          Yf = self._add_padding(Yf)
  
          def backward(dY_ids, sgd=None):
              dY, ids = dY_ids
 
</s> remove @layerize
def _logistic(X, drop=0.):
    xp = get_array_module(X)
    if not isinstance(X, xp.ndarray):
        X = xp.asarray(X)
    # Clip to range (-10, 10)
    X = xp.minimum(X, 10., X)
    X = xp.maximum(X, -10., X)
    Y = 1. / (1. + xp.exp(-X))

    def logistic_bwd(dY, sgd=None):
        dX = dY * (Y * (1-Y))
        return dX

    return Y, logistic_bwd


 </s> add  </s> remove             dXf = self.ops.dot(dY.reshape((dY.shape[0], self.nO*self.nP)), Wopfi)
 </s> add             dXf = self.ops.gemm(dY.reshape((dY.shape[0], self.nO*self.nP)), Wopfi) </s> remove     def beam_parse(self, docs, int beam_width=3, float beam_density=0.001):
 </s> add     def beam_parse(self, docs, int beam_width=3, float beam_density=0.001,
            float drop=0.): </s> remove             self.ops.xp.dot(dY.T, Xf, out=dWopfi)
 </s> add             self.ops.gemm(dY, Xf, out=dWopfi, trans1=True) </s> remove         self._phrase_key = <attr_t*>self.mem.alloc(max_length, sizeof(attr_t))
 </s> add 
        Yf = self.ops.gemm(X,
            self.W.reshape((self.nF*self.nO*self.nP, self.nI)), trans2=True)
          self.nI = nI
          self.nF = nF
  
      def begin_update(self, X, drop=0.):
        Yf = self.ops.gemm(X,
            self.W.reshape((self.nF*self.nO*self.nP, self.nI)), trans2=True)
        Yf = self.ops.gemm(X,
            self.W.reshape((self.nF*self.nO*self.nP, self.nI)), trans2=True)
          Yf = Yf.reshape((Yf.shape[0], self.nF, self.nO, self.nP))
          Yf = self._add_padding(Yf)
  
          def backward(dY_ids, sgd=None):
              dY, ids = dY_ids
keep keep keep keep replace replace keep keep keep keep keep
 Revert "Merge branch 'develop' of https://github.com/explosion/spaCy into develop"

This reverts commit c9ba3d3c2dc7067cf8bd55f878cec45a8c6d73d4, reversing
changes made to 92c26a35d425d4e8ca1b805ea776ea10f5ded3df. 
spacy/_ml.py