/* Code provided by Reality AI */
/* 
    Generated by Reality AI Tools
    Date            : 06/06/2025, 00:33:37
    Account         : RealityAIAdmin
    Project         : baby cry demo - ra8p1
    H2Go Version    : 1.8
    Hopper Version  : 1.572
    Target          : RA8xx (ARM Cortex-M85)
    Model Type      : RAI_SVM_CLASSIFIER
    User Data Type  : int16
    Window Length   : 4000
    Channel Count   : 1
    Class Map       : [no_results: 0, baby_cry: 1, noise: 2]
    ET Segmentation : None
    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_10_sm_MODEL_H
#define baby_cry_10_sm_MODEL_H

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

#define baby_cry_10_sm_FEATURENAME           "C1"
#define baby_cry_10_sm_NUM_CLASSES           2
#define baby_cry_10_sm_NUM_CHANNELS          1
#define baby_cry_10_sm_SAMPLES_PER_CHANNEL   4000
#define baby_cry_10_sm_NUM_LEARNERS          1
#define baby_cry_10_sm_FEATURE_LENGTH        2048
#define baby_cry_10_sm_USER_TYPE             int16_t
#define baby_cry_10_sm_SAMPLES_PER_FRAME     (baby_cry_10_sm_SAMPLES_PER_CHANNEL * baby_cry_10_sm_NUM_CHANNELS)

typedef enum baby_cry_10_sm_AICLASS{
	baby_cry_10_sm_no_results=0,
	baby_cry_10_sm_baby_cry=1,
	baby_cry_10_sm_noise=2
} baby_cry_10_sm_AICLASS;

struct rai_model_struct* get_baby_cry_10_sm_model(void);
baby_cry_10_sm_AICLASS baby_cry_10_sm_predict(int16_t* inputData);

#ifdef __cplusplus
}
#endif
#endif /* baby_cry_10_sm_MODEL_H */

