myogestic.models.definitions.raulnet_models.predict#
- myogestic.models.definitions.raulnet_models.predict(model, input_data, is_classifier)[source]#
Predict with a RaulNet model.
- Parameters:
model (L.LightningModule) – The RaulNet model to predict with.
input_data (np.ndarray) – The preprocessed input data with shape (1, n_features * channels, time).
is_classifier (bool) – Whether the model is a classifier.
- Returns:
The predicted output, or None for classifiers.
- Return type: