added comment motivating the implementation of the predict function of the adapter patch
This commit is contained in:
parent
31591bef0f
commit
6853d862ed
@ -16,5 +16,7 @@ class EstimatorAdapterPatch(EstimatorAdapter):
|
|||||||
self.__output_batch = output_batch
|
self.__output_batch = output_batch
|
||||||
|
|
||||||
def predict(self, batch):
|
def predict(self, batch):
|
||||||
|
# Call the internal estimator, so mechanical issues would surface
|
||||||
self.estimator.predict(batch)
|
self.estimator.predict(batch)
|
||||||
|
# but discard the returned values for the purposes of testing the interface that calls the adapter
|
||||||
return self.__output_batch
|
return self.__output_batch
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user