refactoring; renaming
This commit is contained in:
parent
a5d3232dd0
commit
0a22a35912
@ -10,8 +10,8 @@ logger.setLevel(logging.DEBUG)
|
|||||||
|
|
||||||
@pytest.mark.parametrize("estimator_type", ["mock", "keras"])
|
@pytest.mark.parametrize("estimator_type", ["mock", "keras"])
|
||||||
@pytest.mark.parametrize("label_format", ["index", "probability"])
|
@pytest.mark.parametrize("label_format", ["index", "probability"])
|
||||||
def test_predict(classifier, input_batch, expected_predictions_mapped):
|
def test_classifier(classifier, input_batch, expected_predictions_mapped):
|
||||||
predictions = classifier.predict(input_batch)
|
predictions = classifier(input_batch)
|
||||||
assert predictions == expected_predictions_mapped
|
assert predictions == expected_predictions_mapped
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user