added comment motivating the implementation of the predict function of the adapter patch

This commit is contained in:
Matthias Bisping 2022-03-25 15:01:54 +01:00
parent 31591bef0f
commit 6853d862ed

View File

@ -16,5 +16,7 @@ class EstimatorAdapterPatch(EstimatorAdapter):
self.__output_batch = output_batch
def predict(self, batch):
# Call the internal estimator, so mechanical issues would surface
self.estimator.predict(batch)
# but discard the returned values for the purposes of testing the interface that calls the adapter
return self.__output_batch