aboutsummaryrefslogtreecommitdiff
path: root/samples/KeywordSpotting/include/DsCnnMfcc.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'samples/KeywordSpotting/include/DsCnnMfcc.hpp')
-rw-r--r--samples/KeywordSpotting/include/DsCnnMfcc.hpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/samples/KeywordSpotting/include/DsCnnMfcc.hpp b/samples/KeywordSpotting/include/DsCnnMfcc.hpp
new file mode 100644
index 0000000000..851e010b22
--- /dev/null
+++ b/samples/KeywordSpotting/include/DsCnnMfcc.hpp
@@ -0,0 +1,20 @@
+//
+// Copyright © 2020 Arm Ltd and Contributors. All rights reserved.
+// SPDX-License-Identifier: MIT
+//
+#pragma once
+
+#include "MFCC.hpp"
+
+/* Class to provide DS-CNN specific MFCC calculation requirements. */
+class DsCnnMFCC : public MFCC
+{
+
+public:
+
+ explicit DsCnnMFCC(MfccParams& params)
+ : MFCC(params)
+ {}
+ DsCnnMFCC() = delete;
+ ~DsCnnMFCC() = default;
+};