MCPcopy Create free account

hub / github.com/cjpais/transcribe-rs / functions

Functions374 in github.com/cjpais/transcribe-rs

↓ 1 callersMethoddecode_step
( &mut self, prev_tokens: &[i32], prev_state: &DecoderState, encoder_out: &Arr
src/onnx/parakeet/mod.rs:253
↓ 1 callersMethoddecode_step_logits
( &mut self, state: &mut StreamingState, token: i64, )
src/onnx/moonshine/streaming.rs:719
↓ 1 callersMethoddecode_tokens
(&self, tokens: &[i64])
src/onnx/moonshine/model.rs:252
↓ 1 callersMethoddecode_tokens
(&self, ids: Vec<i32>, timestamps: Vec<usize>)
src/onnx/parakeet/mod.rs:379
↓ 1 callersFunctiondecoder_candidates
(quantization: &Quantization)
src/onnx/cohere/mod.rs:393
↓ 1 callersMethoddefault_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 callersMethoddefault_trailing_silence_ms
Default trailing silence in milliseconds for this engine.
src/lib.rs:181
↓ 1 callersMethodencode
(&mut self, audio: &Array2<f32>)
src/onnx/moonshine/model.rs:131
↓ 1 callersMethodencode
( &mut self, audio_signal: &ArrayViewD<f32>, length: &ArrayViewD<i64>, )
src/onnx/parakeet/mod.rs:190
↓ 1 callersMethodencode_streaming
( &mut self, state: &mut StreamingState, is_final: bool, )
src/onnx/moonshine/streaming.rs:488
↓ 1 callersFunctionencoder_candidates
(quantization: &Quantization)
src/onnx/cohere/mod.rs:384
↓ 1 callersMethodeos_token_id
(&self)
src/onnx/canary/vocab.rs:74
↓ 1 callersFunctionexecution_providers
Build the execution provider list based on the global accelerator preference.
src/onnx/session.rs:24
↓ 1 callersFunctionextract_decoder_mems_shape
(decoder: &Session)
src/onnx/canary/decoder.rs:98
↓ 1 callersMethodfind_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 callersMethodfinish_inner
( &mut self, model: &mut dyn SpeechModel, )
src/transcriber/vad_chunked.rs:195
↓ 1 callersMethodfinish_inner
( &mut self, model: &mut dyn SpeechModel, )
src/transcriber/energy_adaptive_chunked.rs:144
↓ 1 callersMethodforward
( &mut self, features: &ndarray::ArrayView2<f32>, language: &str, use_itn: boo
src/onnx/sense_voice/mod.rs:276
↓ 1 callersMethodforward_nano
( &mut self, features: &ndarray::ArrayView2<f32>, )
src/onnx/sense_voice/mod.rs:333
↓ 1 callersMethodgenerate
( &mut self, samples: &[f32], max_length: usize, )
src/onnx/moonshine/model.rs:165
↓ 1 callersFunctionget_audio_duration
(path: &PathBuf)
examples/canary.rs:8
↓ 1 callersFunctionget_audio_duration
(path: &PathBuf)
examples/whisperfile.rs:8
↓ 1 callersFunctionget_audio_duration
(path: &PathBuf)
examples/openai.rs:6
↓ 1 callersFunctionget_audio_duration
(path: &PathBuf)
examples/gigaam.rs:8
↓ 1 callersFunctionget_audio_duration
(path: &PathBuf)
examples/sense_voice.rs:7
↓ 1 callersFunctionget_audio_duration
(path: &PathBuf)
examples/parakeet.rs:7
↓ 1 callersFunctionget_audio_duration
(path: &PathBuf)
examples/moonshine_streaming.rs:8
↓ 1 callersFunctionget_audio_duration
(path: &PathBuf)
examples/whisper.rs:6
↓ 1 callersFunctionget_audio_duration
(path: &PathBuf)
examples/moonshine.rs:8
↓ 1 callersFunctionget_audio_duration
(path: &PathBuf)
examples/cohere.rs:8
↓ 1 callersMethodget_inputs
(&self)
src/onnx/moonshine/model.rs:303
↓ 1 callersMethodget_or_empty
(&self, id: i64)
src/decode/tokens.rs:89
↓ 1 callersFunctionget_whisper_accelerator
Get the current whisper.cpp accelerator preference.
src/accel.rs:196
↓ 1 callersFunctionget_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 callersFunctiongroup_words_into_segments
(words: &[Word])
src/onnx/parakeet/mod.rs:631
↓ 1 callersMethodhead_dim
(&self)
src/onnx/moonshine/mod.rs:41
↓ 1 callersMethodid_to_token
(&self, id: i64)
src/onnx/canary/vocab.rs:70
↓ 1 callersFunctionis_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 callersMethodlanguages
(self)
src/onnx/canary/mod.rs:48
↓ 1 callersFunctionlist_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 callersFunctionmel_to_hz
(mel: f32)
src/features/mel.rs:257
↓ 1 callersFunctionmodel_path
()
tests/whisperfile.rs:15
↓ 1 callersFunctionmodel_path
()
tests/whisper.rs:9
↓ 1 callersMethodnum_key_value_heads
(&self)
src/onnx/moonshine/mod.rs:37
↓ 1 callersMethodnum_layers
(&self)
src/onnx/moonshine/mod.rs:24
↓ 1 callersMethodpreprocess
( &mut self, waveforms: &ArrayViewD<f32>, waveforms_lens: &ArrayViewD<i64>, )
src/onnx/parakeet/mod.rs:165
↓ 1 callersFunctionprint_usage
()
examples/moonshine_streaming.rs:15
↓ 1 callersMethodprocess_audio_chunk
( &mut self, state: &mut StreamingState, audio_chunk: &[f32], )
src/onnx/moonshine/streaming.rs:366
↓ 1 callersMethodrecognize_batch
( &mut self, waveforms: &ArrayViewD<f32>, waveforms_len: &ArrayViewD<i64>, )
src/onnx/parakeet/mod.rs:308
↓ 1 callersMethodreset
(&mut self, config: &StreamingConfig)
src/onnx/moonshine/streaming.rs:166
↓ 1 callersMethodreset_state
(&mut self)
src/transcriber/vad_chunked.rs:227
↓ 1 callersMethodreset_state
(&mut self)
src/transcriber/energy_adaptive_chunked.rs:168
↓ 1 callersMethodrun_decoder
( &mut self, state: &mut StreamingState, token: i64, )
src/onnx/moonshine/streaming.rs:636
↓ 1 callersFunctionsentencepiece_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 callersMethodshutdown
(&mut self)
src/whisperfile.rs:304
↓ 1 callersMethodsize
(&self)
src/onnx/canary/vocab.rs:78
↓ 1 callersMethodsmart_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 callersMethodspeech_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 callersMethodtoken_to_id
(&self, token: &str)
src/onnx/canary/vocab.rs:66
↓ 1 callersMethodtranscribe_chunk
( &mut self, samples: &[f32], prompt_ids: &[i64], max_new_tokens: usize, )
src/onnx/cohere/mod.rs:141
↓ 1 callersMethodtranscribe_samples_internal
( &mut self, samples: Vec<f32>, )
src/onnx/parakeet/mod.rs:417
↓ 1 callersMethodtranscribe_with
Transcribe with model-specific parameters.
src/onnx/canary/mod.rs:156
↓ 1 callersMethodtranscribe_with
( &mut self, samples: &[f32], params: &CohereParams, )
src/onnx/cohere/mod.rs:109
↓ 1 callersMethodupdate_from_outputs
( &mut self, outputs: &ort::session::SessionOutputs, use_cache_branch: bool, )
src/onnx/moonshine/model.rs:320
↓ 1 callersMethoduse_gpu
Returns `true` if GPU should be used.
src/accel.rs:220
↓ 1 callersMethodwait_for_server
(&self, timeout: Duration)
src/whisperfile.rs:342
Methodavailable
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
Methodbuilder
()
src/remote/openai.rs:110
Methodcapabilities
(&self)
src/transcriber/test_helpers.rs:11
Methodcapabilities
(&self)
src/whisper_cpp/mod.rs:273
Methodcapabilities
(&self)
src/onnx/canary/mod.rs:262
Methodcapabilities
(&self)
src/onnx/moonshine/streaming.rs:786
Methodcapabilities
(&self)
src/onnx/moonshine/model.rs:258
Methodcapabilities
(&self)
src/onnx/parakeet/mod.rs:436
Methodcapabilities
(&self)
src/onnx/gigaam/mod.rs:165
Methodcapabilities
(&self)
src/onnx/sense_voice/mod.rs:423
Methodcapabilities
(&self)
src/onnx/cohere/mod.rs:347
Functioncompare_oneshot_vs_chunked
()
tests/transcriber.rs:15
Functioncompare_streaming_energy_adaptive
()
tests/transcriber.rs:86
Methoddefault
()
src/accel.rs:125
Methoddefault
()
src/whisperfile.rs:173
Methoddefault
()
src/transcriber/vad_chunked.rs:32
Methoddefault
()
src/transcriber/energy_adaptive_chunked.rs:32
Methoddefault
()
src/remote/openai.rs:116
Methoddefault
()
src/whisper_cpp/mod.rs:68
Methoddefault
()
src/features/mel.rs:30
Methoddefault
()
src/onnx/canary/mod.rs:77
Methoddefault
()
src/onnx/moonshine/mod.rs:68
Methoddefault_leading_silence_ms
(&self)
src/onnx/parakeet/mod.rs:440
Methoddetect
(vocab_size: usize)
src/onnx/canary/mod.rs:33
Methoddrain_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
Methoddrop
(&mut self)
src/accel.rs:313
Methoddrop
(&mut self)
src/whisperfile.rs:481
Functionenergy_adaptive_empty_input
()
src/transcriber/energy_adaptive_chunked.rs:390
Functionenergy_adaptive_min_chunk_skips_short_remainder
()
src/transcriber/energy_adaptive_chunked.rs:301
Functionenergy_adaptive_object_safe
()
src/transcriber/energy_adaptive_chunked.rs:404
Functionenergy_adaptive_remainder_in_finish
()
src/transcriber/energy_adaptive_chunked.rs:281
Functionenergy_adaptive_reusable_after_error
()
src/transcriber/energy_adaptive_chunked.rs:422
Functionenergy_adaptive_splits_at_low_energy
()
src/transcriber/energy_adaptive_chunked.rs:219
Functionenergy_adaptive_timestamps_clamped_to_zero
()
src/transcriber/energy_adaptive_chunked.rs:346
← previousnext →101–200 of 374, ranked by callers