removed obsolete code; added missing __init__ for predictor

This commit is contained in:
Matthias Bisping 2022-03-27 01:20:03 +01:00
parent 5c5d132d7f
commit 4fcd1e79d3
2 changed files with 0 additions and 7 deletions

View File

View File

@ -22,13 +22,6 @@ def estimator(estimator_adapter, classes):
return estimator
@pytest.fixture
def input_output_mapper(input_batch, classes):
"""Mocks the internal, real estimator of an EstimatorAdapter object."""
outputs = random.choices(range(len(classes)), k=len(input_batch))
return outputs
@pytest.fixture
def estimator_adapter(estimator_type, keras_model, output_batch_generator, monkeypatch):
if estimator_type == "mock":