Example #1
0
 def fprop(self, X):
     cost = NllBin(X[0], X[1])
     if self.use_sum:
         return cost.sum()
     else:
         return cost.mean()
Example #2
0
 def fprop(self, X):
     cost = NllBin(X[0], X[1])
     if self.use_sum:
         return cost.sum()
     else:
         return cost.mean()