示例#1
0
 def _predict_classifier(self, x: np.ndarray, batch_size: int,
                         training_mode: bool, **kwargs) -> np.ndarray:
     return TensorFlowV2Classifier.predict(self,
                                           x=x,
                                           batch_size=batch_size,
                                           training_mode=training_mode,
                                           **kwargs)
示例#2
0
 def _predict_classifier(self, x: np.ndarray,
                         batch_size: int) -> np.ndarray:
     return TensorFlowV2Classifier.predict(self, x=x, batch_size=batch_size)