private
predict
— function
predict(method, model, input[; device, context])
Predict a target
from input
using model
. Optionally apply function device
to x
before passing to model
and use context
instead of the default
context Inference
.