Auto-format [ci skip]

This commit is contained in:
Ines Montani 2019-10-31 15:01:56 +01:00
parent e82306937e
commit 2c107f02a4
1 changed files with 1 additions and 4 deletions

View File

@ -81,6 +81,7 @@ def MultiHashEmbed(config):
@register_architecture("spacy.CharacterEmbed.v1")
def CharacterEmbed(config):
from .. import _ml
width = config["width"]
chars = config["chars"]
@ -128,7 +129,6 @@ def PretrainedVectors(config):
return StaticVectors(config["vectors_name"], config["width"], config["column"])
@register_architecture("spacy.TorchBiLSTMEncoder.v1")
def TorchBiLSTMEncoder(config):
import torch.nn
@ -143,9 +143,6 @@ def TorchBiLSTMEncoder(config):
)
_EXAMPLE_CONFIG = {
"@doc2feats": {
"arch": "Doc2Feats",