predict_on_batch: Returns predictions for a single batch of samples.

View source: R/model-training.R

predict_on_batchR Documentation

Returns predictions for a single batch of samples.

Description

Returns predictions for a single batch of samples.

Usage

predict_on_batch(object, x)

Arguments

object

Keras model object

x

Input data. It must be array-like.

Value

Array(s) of predictions.

See Also

Other model training:
compile.keras.src.models.model.Model()
evaluate.keras.src.models.model.Model()
predict.keras.src.models.model.Model()
test_on_batch()
train_on_batch()


rstudio/keras documentation built on April 22, 2024, 11:43 p.m.