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

Online punctuation model configuration. More...

#include <cxx-api.h>

+ Collaboration diagram for sherpa_onnx::cxx::OnlinePunctuationModelConfig:

Public Attributes

std::string cnn_bilstm
 
std::string bpe_vocab
 
int32_t num_threads = 1
 
bool debug = false
 
std::string provider = "cpu"
 

Detailed Description

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

Member Data Documentation

◆ bpe_vocab

std::string sherpa_onnx::cxx::OnlinePunctuationModelConfig::bpe_vocab

BPE vocabulary file.

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

◆ cnn_bilstm

std::string sherpa_onnx::cxx::OnlinePunctuationModelConfig::cnn_bilstm

Model file.

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

◆ debug

bool sherpa_onnx::cxx::OnlinePunctuationModelConfig::debug = false

Enable verbose debug logging.

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

◆ num_threads

int32_t sherpa_onnx::cxx::OnlinePunctuationModelConfig::num_threads = 1

Number of inference threads.

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

◆ provider

std::string sherpa_onnx::cxx::OnlinePunctuationModelConfig::provider = "cpu"

Execution provider such as "cpu".

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


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