Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cjpais/transcribe-rs
/ functions
Functions
374 in github.com/cjpais/transcribe-rs
⨍
Functions
374
◇
Types & classes
70
↓ 1 callers
Method
decode_step
( &mut self, prev_tokens: &[i32], prev_state: &DecoderState, encoder_out: &Arr
src/onnx/parakeet/mod.rs:253
↓ 1 callers
Method
decode_step_logits
( &mut self, state: &mut StreamingState, token: i64, )
src/onnx/moonshine/streaming.rs:719
↓ 1 callers
Method
decode_tokens
(&self, tokens: &[i64])
src/onnx/moonshine/model.rs:252
↓ 1 callers
Method
decode_tokens
(&self, ids: Vec<i32>, timestamps: Vec<usize>)
src/onnx/parakeet/mod.rs:379
↓ 1 callers
Function
decoder_candidates
(quantization: &Quantization)
src/onnx/cohere/mod.rs:393
↓ 1 callers
Method
default_leading_silence_ms
Default leading silence in milliseconds for this engine. Override to set a non-zero default. For example, Parakeet returns 250 because its mel spectr
src/lib.rs:176
↓ 1 callers
Method
default_trailing_silence_ms
Default trailing silence in milliseconds for this engine.
src/lib.rs:181
↓ 1 callers
Method
encode
(&mut self, audio: &Array2<f32>)
src/onnx/moonshine/model.rs:131
↓ 1 callers
Method
encode
( &mut self, audio_signal: &ArrayViewD<f32>, length: &ArrayViewD<i64>, )
src/onnx/parakeet/mod.rs:190
↓ 1 callers
Method
encode_streaming
( &mut self, state: &mut StreamingState, is_final: bool, )
src/onnx/moonshine/streaming.rs:488
↓ 1 callers
Function
encoder_candidates
(quantization: &Quantization)
src/onnx/cohere/mod.rs:384
↓ 1 callers
Method
eos_token_id
(&self)
src/onnx/canary/vocab.rs:74
↓ 1 callers
Function
execution_providers
Build the execution provider list based on the global accelerator preference.
src/onnx/session.rs:24
↓ 1 callers
Function
extract_decoder_mems_shape
(decoder: &Session)
src/onnx/canary/decoder.rs:98
↓ 1 callers
Method
find_split_point
Find the best split point in the buffer, searching around `target_samples` for the minimum-energy frame.
src/transcriber/energy_adaptive_chunked.rs:78
↓ 1 callers
Method
finish_inner
( &mut self, model: &mut dyn SpeechModel, )
src/transcriber/vad_chunked.rs:195
↓ 1 callers
Method
finish_inner
( &mut self, model: &mut dyn SpeechModel, )
src/transcriber/energy_adaptive_chunked.rs:144
↓ 1 callers
Method
forward
( &mut self, features: &ndarray::ArrayView2<f32>, language: &str, use_itn: boo
src/onnx/sense_voice/mod.rs:276
↓ 1 callers
Method
forward_nano
( &mut self, features: &ndarray::ArrayView2<f32>, )
src/onnx/sense_voice/mod.rs:333
↓ 1 callers
Method
generate
( &mut self, samples: &[f32], max_length: usize, )
src/onnx/moonshine/model.rs:165
↓ 1 callers
Function
get_audio_duration
(path: &PathBuf)
examples/canary.rs:8
↓ 1 callers
Function
get_audio_duration
(path: &PathBuf)
examples/whisperfile.rs:8
↓ 1 callers
Function
get_audio_duration
(path: &PathBuf)
examples/openai.rs:6
↓ 1 callers
Function
get_audio_duration
(path: &PathBuf)
examples/gigaam.rs:8
↓ 1 callers
Function
get_audio_duration
(path: &PathBuf)
examples/sense_voice.rs:7
↓ 1 callers
Function
get_audio_duration
(path: &PathBuf)
examples/parakeet.rs:7
↓ 1 callers
Function
get_audio_duration
(path: &PathBuf)
examples/moonshine_streaming.rs:8
↓ 1 callers
Function
get_audio_duration
(path: &PathBuf)
examples/whisper.rs:6
↓ 1 callers
Function
get_audio_duration
(path: &PathBuf)
examples/moonshine.rs:8
↓ 1 callers
Function
get_audio_duration
(path: &PathBuf)
examples/cohere.rs:8
↓ 1 callers
Method
get_inputs
(&self)
src/onnx/moonshine/model.rs:303
↓ 1 callers
Method
get_or_empty
(&self, id: i64)
src/decode/tokens.rs:89
↓ 1 callers
Function
get_whisper_accelerator
Get the current whisper.cpp accelerator preference.
src/accel.rs:196
↓ 1 callers
Function
get_whisper_gpu_device
Get the current whisper GPU device preference. Returns [`GPU_DEVICE_AUTO`] (`-1`) for automatic selection, or a non-negative backend-specific device
src/accel.rs:288
↓ 1 callers
Function
group_words_into_segments
(words: &[Word])
src/onnx/parakeet/mod.rs:631
↓ 1 callers
Method
head_dim
(&self)
src/onnx/moonshine/mod.rs:41
↓ 1 callers
Method
id_to_token
(&self, id: i64)
src/onnx/canary/vocab.rs:70
↓ 1 callers
Function
is_xnnpack_active
Returns true if the XNNPACK EP is selected and compiled in. XNNPACK runs its own threadpool, so the session intra-op pool should be reduced to a singl
src/onnx/session.rs:142
↓ 1 callers
Method
languages
(self)
src/onnx/canary/mod.rs:48
↓ 1 callers
Function
list_gpu_devices
List GPU devices available for whisper inference. Uses the GGML backend API to enumerate GPU devices across all backends (Vulkan, CUDA, Metal, etc.).
src/whisper_cpp/gpu.rs:47
↓ 1 callers
Function
mel_to_hz
(mel: f32)
src/features/mel.rs:257
↓ 1 callers
Function
model_path
()
tests/whisperfile.rs:15
↓ 1 callers
Function
model_path
()
tests/whisper.rs:9
↓ 1 callers
Method
num_key_value_heads
(&self)
src/onnx/moonshine/mod.rs:37
↓ 1 callers
Method
num_layers
(&self)
src/onnx/moonshine/mod.rs:24
↓ 1 callers
Method
preprocess
( &mut self, waveforms: &ArrayViewD<f32>, waveforms_lens: &ArrayViewD<i64>, )
src/onnx/parakeet/mod.rs:165
↓ 1 callers
Function
print_usage
()
examples/moonshine_streaming.rs:15
↓ 1 callers
Method
process_audio_chunk
( &mut self, state: &mut StreamingState, audio_chunk: &[f32], )
src/onnx/moonshine/streaming.rs:366
↓ 1 callers
Method
recognize_batch
( &mut self, waveforms: &ArrayViewD<f32>, waveforms_len: &ArrayViewD<i64>, )
src/onnx/parakeet/mod.rs:308
↓ 1 callers
Method
reset
(&mut self, config: &StreamingConfig)
src/onnx/moonshine/streaming.rs:166
↓ 1 callers
Method
reset_state
(&mut self)
src/transcriber/vad_chunked.rs:227
↓ 1 callers
Method
reset_state
(&mut self)
src/transcriber/energy_adaptive_chunked.rs:168
↓ 1 callers
Method
run_decoder
( &mut self, state: &mut StreamingState, token: i64, )
src/onnx/moonshine/streaming.rs:636
↓ 1 callers
Function
sentencepiece_to_text
Convert a sequence of SentencePiece tokens to readable text. Handles the `▁` (U+2581) word boundary marker by replacing it with a space, trims the re
src/decode/sentencepiece.rs:5
↓ 1 callers
Method
shutdown
(&mut self)
src/whisperfile.rs:304
↓ 1 callers
Method
size
(&self)
src/onnx/canary/vocab.rs:78
↓ 1 callers
Method
smart_split_buffer
When force-splitting, scan backward over `search_secs` of the speech buffer to find the frame with the lowest RMS energy. Splits the buffer there, tra
src/transcriber/vad_chunked.rs:91
↓ 1 callers
Method
speech_probability
Run inference and return the raw speech probability (0.0–1.0). Unlike [`is_speech()`](Vad::is_speech), this returns the model's confidence rather tha
src/vad/silero.rs:97
↓ 1 callers
Method
token_to_id
(&self, token: &str)
src/onnx/canary/vocab.rs:66
↓ 1 callers
Method
transcribe_chunk
( &mut self, samples: &[f32], prompt_ids: &[i64], max_new_tokens: usize, )
src/onnx/cohere/mod.rs:141
↓ 1 callers
Method
transcribe_samples_internal
( &mut self, samples: Vec<f32>, )
src/onnx/parakeet/mod.rs:417
↓ 1 callers
Method
transcribe_with
Transcribe with model-specific parameters.
src/onnx/canary/mod.rs:156
↓ 1 callers
Method
transcribe_with
( &mut self, samples: &[f32], params: &CohereParams, )
src/onnx/cohere/mod.rs:109
↓ 1 callers
Method
update_from_outputs
( &mut self, outputs: &ort::session::SessionOutputs, use_cache_branch: bool, )
src/onnx/moonshine/model.rs:320
↓ 1 callers
Method
use_gpu
Returns `true` if GPU should be used.
src/accel.rs:220
↓ 1 callers
Method
wait_for_server
(&self, timeout: Duration)
src/whisperfile.rs:342
Method
available
Return the list of ORT accelerators that are compiled-in for the current build. Always includes `CpuOnly`. Only includes GPU accelerators whose corre
src/accel.rs:80
Method
builder
()
src/remote/openai.rs:110
Method
capabilities
(&self)
src/transcriber/test_helpers.rs:11
Method
capabilities
(&self)
src/whisper_cpp/mod.rs:273
Method
capabilities
(&self)
src/onnx/canary/mod.rs:262
Method
capabilities
(&self)
src/onnx/moonshine/streaming.rs:786
Method
capabilities
(&self)
src/onnx/moonshine/model.rs:258
Method
capabilities
(&self)
src/onnx/parakeet/mod.rs:436
Method
capabilities
(&self)
src/onnx/gigaam/mod.rs:165
Method
capabilities
(&self)
src/onnx/sense_voice/mod.rs:423
Method
capabilities
(&self)
src/onnx/cohere/mod.rs:347
Function
compare_oneshot_vs_chunked
()
tests/transcriber.rs:15
Function
compare_streaming_energy_adaptive
()
tests/transcriber.rs:86
Method
default
()
src/accel.rs:125
Method
default
()
src/whisperfile.rs:173
Method
default
()
src/transcriber/vad_chunked.rs:32
Method
default
()
src/transcriber/energy_adaptive_chunked.rs:32
Method
default
()
src/remote/openai.rs:116
Method
default
()
src/whisper_cpp/mod.rs:68
Method
default
()
src/features/mel.rs:30
Method
default
()
src/onnx/canary/mod.rs:77
Method
default
()
src/onnx/moonshine/mod.rs:68
Method
default_leading_silence_ms
(&self)
src/onnx/parakeet/mod.rs:440
Method
detect
(vocab_size: usize)
src/onnx/canary/mod.rs:33
Method
drain_prefill
Drain any buffered prefill audio and return it as a flat sample vector. Call this immediately after [`is_speech()`](Vad::is_speech) returns `true` fo
src/vad/mod.rs:53
Method
drop
(&mut self)
src/accel.rs:313
Method
drop
(&mut self)
src/whisperfile.rs:481
Function
energy_adaptive_empty_input
()
src/transcriber/energy_adaptive_chunked.rs:390
Function
energy_adaptive_min_chunk_skips_short_remainder
()
src/transcriber/energy_adaptive_chunked.rs:301
Function
energy_adaptive_object_safe
()
src/transcriber/energy_adaptive_chunked.rs:404
Function
energy_adaptive_remainder_in_finish
()
src/transcriber/energy_adaptive_chunked.rs:281
Function
energy_adaptive_reusable_after_error
()
src/transcriber/energy_adaptive_chunked.rs:422
Function
energy_adaptive_splits_at_low_energy
()
src/transcriber/energy_adaptive_chunked.rs:219
Function
energy_adaptive_timestamps_clamped_to_zero
()
src/transcriber/energy_adaptive_chunked.rs:346
← previous
next →
101–200 of 374, ranked by callers