This commit is contained in:
kadarakos 2023-04-13 10:04:35 +00:00
parent 85dd4d4c3b
commit d544c903b6
2 changed files with 3 additions and 6 deletions

View File

@ -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

View File

@ -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