Loads the pre-trained Deep Neural Network (DNN) from the DNN.onnx or Long Short
Term Memory (LSTM) Network form LSTM.onnx.
The function uses the reticulate package to import the onnxruntime Python library
and create an inference session for the model.
load.NN(model = "DNN")An ONNX runtime inference session object for the DNN or LSTM model.
A character string indicating the model type. Possible values are "DNN" (default) or "LSTM".
NN