mirror of https://github.com/explosion/spaCy.git
Fix whitespace
This commit is contained in:
parent
9745b0d523
commit
89ad095900
|
@ -1070,7 +1070,7 @@ class ClozeMultitask(Pipe):
|
||||||
gradient = (prediction - target) / prediction.shape[0]
|
gradient = (prediction - target) / prediction.shape[0]
|
||||||
loss = (gradient**2).sum()
|
loss = (gradient**2).sum()
|
||||||
return float(loss), gradient
|
return float(loss), gradient
|
||||||
|
|
||||||
def update(self, docs, golds, drop=0., sgd=None, losses=None):
|
def update(self, docs, golds, drop=0., sgd=None, losses=None):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue