mirror of
https://github.com/elastic/eland.git
synced 2025-07-11 00:02:14 +08:00
linting
This commit is contained in:
parent
3a044a76e3
commit
e9babdcc37
@ -123,6 +123,7 @@ class InferenceConfig:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
class SlimInferenceOptions(InferenceConfig):
|
class SlimInferenceOptions(InferenceConfig):
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
@ -134,6 +135,7 @@ class SlimInferenceOptions(InferenceConfig):
|
|||||||
self.tokenization = tokenization
|
self.tokenization = tokenization
|
||||||
self.results_field = results_field
|
self.results_field = results_field
|
||||||
|
|
||||||
|
|
||||||
class TextClassificationInferenceOptions(InferenceConfig):
|
class TextClassificationInferenceOptions(InferenceConfig):
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user