MCPcopy Create free account
hub / github.com/NVIDIA-NeMo/Switchyard / shared_algorithm

Function shared_algorithm

crates/libsy/src/algorithms/rand.rs:239–241  ·  view source on GitHub ↗
(names: &[&str])

Source from the content-addressed store, hash-verified

237 }
238
239 fn shared_algorithm(names: &[&str]) -> Result<Arc<dyn Algorithm>> {
240 Ok(Arc::new(algorithm(names, None, None)?))
241 }
242
243 async fn selected_models(algorithm: Arc<dyn Algorithm>, count: usize) -> Result<Vec<String>> {
244 let mut selected = Vec::with_capacity(count);

Calls 1

algorithmFunction · 0.70

Tested by

no test coverage detected