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

Offline punctuation model configuration. More...

#include <cxx-api.h>

+ Collaboration diagram for sherpa_onnx::cxx::OfflinePunctuationModelConfig:

Public Attributes

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

Detailed Description

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

Member Data Documentation

◆ ct_transformer

std::string sherpa_onnx::cxx::OfflinePunctuationModelConfig::ct_transformer

Model file.

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

◆ debug

bool sherpa_onnx::cxx::OfflinePunctuationModelConfig::debug = false

Enable verbose debug logging.

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

◆ num_threads

int32_t sherpa_onnx::cxx::OfflinePunctuationModelConfig::num_threads = 1

Number of inference threads.

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

◆ provider

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

Execution provider such as "cpu".

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


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