This commit is contained in:
svlandeg 2020-06-04 16:07:30 +02:00
parent 6b027d7689
commit 776d4f1190
1 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ maxout_pieces = 3
subword_features = true subword_features = true
""" """
# TODO: REMOVE ?
class PipelineComponent(BaseModel): class PipelineComponent(BaseModel):
factory: str factory: str
model: Model model: Model
@ -84,7 +84,7 @@ class PipelineComponent(BaseModel):
class Config: class Config:
arbitrary_types_allowed = True arbitrary_types_allowed = True
# TODO: REMOVE ?
class ConfigSchema(BaseModel): class ConfigSchema(BaseModel):
optimizer: Optional["Optimizer"] optimizer: Optional["Optimizer"]