/* Code provided by Reality AI */
/* 
    Generated by Reality AI Tools
    Date            : 11/12/2024, 05:41:02
    Account         : NA
    Project         : NA
    H2Go Version    : 1.6
    Hopper Version  : 1.570
    Target Proc     : VOICE-RA6E1
    Model Type      : RAI_SVM_CLASSIFIER
    User Data Type  : float32
    Window Length   : 4096
    Channel Count   : 1
    Class Map       : [no_results: 0, baby_cry: 1, everything_else: 2]
    Smoothing       : None

    Copyright (c) Renesas of America, Inc.  All rights reserved.
    Use and distribution are subject to applicable contract restrictions.
*/

/*
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
 * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
 * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

#ifndef baby_cry_alp_v1_MODEL_H
#define baby_cry_alp_v1_MODEL_H

#include <stdlib.h>
#include "RealityAI.h"
#include "RealityAI_Config.h"
#include "RealityAI_Types.h"
#ifdef __cplusplus
extern "C" {
#endif

#define baby_cry_alp_v1_FEATURENAME           "E4C2"
#define baby_cry_alp_v1_NUM_CLASSES           2
#define baby_cry_alp_v1_NUM_CHANNELS          1
#define baby_cry_alp_v1_SAMPLES_PER_CHANNEL   4096
#define baby_cry_alp_v1_NUM_LEARNERS          1
#define baby_cry_alp_v1_FEATURE_LENGTH        32
#define baby_cry_alp_v1_USER_TYPE             float
#define baby_cry_alp_v1_SAMPLES_PER_FRAME     (baby_cry_alp_v1_SAMPLES_PER_CHANNEL * baby_cry_alp_v1_NUM_CHANNELS)

typedef enum baby_cry_alp_v1_AICLASS{
	baby_cry_alp_v1_no_results=0,
	baby_cry_alp_v1_baby_cry=1,
	baby_cry_alp_v1_everything_else=2
} baby_cry_alp_v1_AICLASS;

struct rai_model_struct* get_baby_cry_alp_v1_model(void);
baby_cry_alp_v1_AICLASS baby_cry_alp_v1_predict(float* inputData);

#ifdef __cplusplus
}
#endif
#endif /* baby_cry_alp_v1_MODEL_H */

