mirror of
https://github.com/explosion/spaCy.git
synced 2025-04-21 17:41:59 +03:00
black
This commit is contained in:
parent
85dd4d4c3b
commit
d544c903b6
|
@ -1,8 +1,7 @@
|
|||
from functools import partial
|
||||
from typing import Any, Callable, Dict, Iterable, List, Optional, Tuple, cast
|
||||
|
||||
from thinc.api import (Config, Model, Ops, Optimizer, get_current_ops,
|
||||
set_dropout_rate)
|
||||
from thinc.api import Config, Model, Ops, Optimizer, get_current_ops, set_dropout_rate
|
||||
from thinc.types import Floats2d, Ints1d, Ragged
|
||||
|
||||
from spacy.language import Language
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
from dataclasses import dataclass
|
||||
from functools import partial
|
||||
from typing import (Any, Callable, Dict, Iterable, List, Optional, Tuple,
|
||||
Union, cast)
|
||||
from typing import Any, Callable, Dict, Iterable, List, Optional, Tuple, Union, cast
|
||||
|
||||
import numpy
|
||||
from thinc.api import (Config, Model, Ops, Optimizer, get_current_ops,
|
||||
set_dropout_rate)
|
||||
from thinc.api import Config, Model, Ops, Optimizer, get_current_ops, set_dropout_rate
|
||||
from thinc.types import Floats2d, Ints2d, Ragged
|
||||
|
||||
from ..compat import Protocol, runtime_checkable
|
||||
|
|
Loading…
Reference in New Issue
Block a user