Skip to content

Commit

Permalink
None backend should not be an option for the nn-inference-template
Browse files Browse the repository at this point in the history
  • Loading branch information
faressc committed Sep 23, 2024
1 parent 152eae4 commit 5d09c73
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion source/PluginParameters.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class PluginParameters {
DRY_WET_NAME = "Dry/Wet"
;

inline static juce::StringArray backendTypes {"TFLITE", "LIBTORCH", "ONNXRUNTIME", "NONE"};
inline static juce::StringArray backendTypes {"TFLITE", "LIBTORCH", "ONNXRUNTIME"};
inline static juce::String defaultBackend {backendTypes[2]};

static juce::StringArray getPluginParameterList();
Expand Down
1 change: 0 additions & 1 deletion source/PluginProcessor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@ void AudioPluginAudioProcessor::parameterChanged(const juce::String &parameterID
if (paramString == "LIBTORCH") {inferenceHandler.setInferenceBackend(anira::LIBTORCH);
std::cout << "LIBTORCH" << std::endl;}
#endif
if (paramString == "NONE") inferenceHandler.setInferenceBackend(anira::NONE);
}
}
//==============================================================================
Expand Down

0 comments on commit 5d09c73

Please sign in to comment.