Prediction method wrapper for base learners of class SL.torch
predict.SL.torch.RdThis function provides the prediction method for objects of class
SL.torch. It converts newdata into a torch tensor, applies
the fitted torch model, and returns predictions as a numeric vector
Usage
# S3 method for class 'SL.torch'
predict(object, newdata, ...)