/*
 * Copyright (C) 2018 Arm Limited or its affiliates. All rights reserved.
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Licensed under the Apache License, Version 2.0 (the License); you may
 * not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an AS IS BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * ==============================================================================
 *
 * Modifications Copyright 2019 Tanel Peet. All rights reserved.
 * Renamed variables for using multiple feature extraction methods
 */

#ifndef __NN_H__
#define __NN_H__
#include "arm_nnfunctions.h"

class NN {

  public:
    virtual ~NN();
    virtual void run_nn(q7_t* in_data, q7_t* out_data)=0;
    int get_num_feature_coeffs();
    int get_num_frames();
    int get_frame_len();
    int get_frame_shift();
    int get_num_out_classes();
    int get_in_dec_bits();

  protected:
    int frame_len;
    int frame_shift;
    int num_feature_coeffs;
    int num_frames;
    int num_out_classes;
    int in_dec_bits;

};

#endif
