sherpa-onnx C API 1.0
Public C API and C++ wrapper for sherpa-onnx
Loading...
Searching...
No Matches
sherpa_onnx::cxx::FeatureConfig Struct Reference

Feature extraction settings shared by ASR and KWS wrappers. More...

#include <cxx-api.h>

Public Attributes

int32_t sample_rate = 16000
 
int32_t feature_dim = 80
 

Detailed Description

Definition at line 151 of file cxx-api.h.

Member Data Documentation

◆ feature_dim

int32_t sherpa_onnx::cxx::FeatureConfig::feature_dim = 80

Number of features per frame.

Definition at line 155 of file cxx-api.h.

◆ sample_rate

int32_t sherpa_onnx::cxx::FeatureConfig::sample_rate = 16000

Input sample rate in Hz.

Definition at line 153 of file cxx-api.h.


The documentation for this struct was generated from the following file: