Returns predictions for a single batch of samples.
Returns predictions for a single batch of samples.
predict_on_batch(object, x)
Arguments
object | Keras model object |
x | Input data (vector, matrix, or array) |
Value
array of predictions.
See also
Other model functions: compile
,
evaluate.keras.engine.training.Model
,
evaluate_generator
,
fit_generator
, fit
,
get_config
, get_layer
,
keras_model_sequential
,
keras_model
, multi_gpu_model
,
pop_layer
,
predict.keras.engine.training.Model
,
predict_generator
,
predict_proba
,
summary.keras.engine.training.Model
,
train_on_batch