| /wasmtime-44.0.1/crates/environ/src/graphs/ |
| H A D | scc.rs | 75 G: Graph<Node>, in new() 306 G: Graph<Node>, in evaporation() 418 struct Graph { struct 422 impl Default for Graph { implementation 431 impl Graph { impl 439 impl super::Graph<Node> for Graph { implementation 469 let graph = Graph::default(); in test_empty() 478 let mut graph = Graph::default(); in test_single_node() 492 let mut graph = Graph::default(); in test_single_node_cycle() 503 let mut graph = Graph::default(); in test_disconnected_nodes() [all …]
|
| H A D | dfs.rs | 58 G: Graph<Node>, in next()
|
| H A D | entity_graph.rs | 77 impl<Node> Graph<Node> for EntityGraph<Node>
|
| /wasmtime-44.0.1/crates/test-programs/src/ |
| H A D | nn.rs | 23 use self::wasi::nn::graph::{self, Graph}; 32 ) -> Result<Graph> { in load() argument 37 pub fn load_by_name(name: &str) -> Result<Graph> { in load_by_name() argument 43 pub fn classify(graph: Graph, input: (&str, Vec<u8>)) -> Result<Vec<f32>> { in classify() argument 89 use wasi_nn::{Graph, GraphBuilder, TensorType}; 96 ) -> Result<Graph> { in load() argument 105 ) -> Result<Graph> { in load_by_name() argument 111 pub fn classify(graph: Graph, tensor: Vec<u8>) -> Result<Vec<f32>> { in classify() argument
|
| /wasmtime-44.0.1/crates/wasi-nn/src/registry/ |
| H A D | in_memory.rs | 3 use super::{Graph, GraphRegistry}; 9 pub struct InMemoryRegistry(HashMap<String, Graph>); 40 fn get(&self, name: &str) -> Option<&Graph> { in get() argument 43 fn get_mut(&mut self, name: &str) -> Option<&mut Graph> { in get_mut() argument
|
| H A D | mod.rs | 11 use crate::Graph; 15 fn get(&self, name: &str) -> Option<&Graph>; in get() argument 16 fn get_mut(&mut self, name: &str) -> Option<&mut Graph>; in get_mut() argument
|
| /wasmtime-44.0.1/crates/environ/src/ |
| H A D | graphs.rs | 15 pub trait Graph<Node> { trait 52 impl<T, Node> Graph<Node> for &'_ T impl 54 T: ?Sized + Graph<Node>, 95 impl<G, F, Node> Graph<Node> for FilterNodes<G, F> 97 G: Graph<Node>,
|
| /wasmtime-44.0.1/crates/wasi-nn/src/ |
| H A D | wit.rs | 124 "wasi:nn/graph.graph": crate::Graph, 141 pub use generated::graph::{ExecutionTarget, Graph, GraphBuilder, GraphEncoding}; 145 pub use generated::graph::{ExecutionTarget, Graph, GraphBuilder, GraphEncoding}; 175 ) -> wasmtime::Result<Result<Resource<Graph>, Resource<Error>>> { in load() argument 200 ) -> wasmtime::Result<Result<Resource<Graph>, Resource<Error>>> { in load_by_name() argument 221 graph: Resource<Graph>, in init_execution_context() argument 237 fn drop(&mut self, graph: Resource<Graph>) -> wasmtime::Result<()> { in drop()
|
| H A D | lib.rs | 55 pub struct Graph(Arc<dyn backend::BackendGraph>); struct 56 impl From<Box<dyn backend::BackendGraph>> for Graph { implementation 61 impl std::ops::Deref for Graph { implementation
|
| H A D | witx.rs | 19 use crate::{Backend, ExecutionContext, Graph, Registry}; 36 pub(crate) graphs: Table<GraphId, Graph>, 134 ) -> Result<generated::types::Graph> { in load() argument 160 ) -> Result<generated::types::Graph> { in load_by_name() argument 173 graph_id: generated::types::Graph, in init_execution_context() argument
|
| /wasmtime-44.0.1/crates/wasi-nn/src/backend/ |
| H A D | mod.rs | 24 use crate::{Backend, ExecutionContext, Graph}; 57 fn load(&mut self, builders: &[&[u8]], target: ExecutionTarget) -> Result<Graph, BackendError>; in load() argument 69 ) -> Result<Graph, BackendError>; in load_from_dir() argument
|
| H A D | openvino.rs | 8 use crate::{ExecutionContext, Graph}; 23 fn load(&mut self, builders: &[&[u8]], target: ExecutionTarget) -> Result<Graph, BackendError> { in load() argument 67 ) -> Result<Graph, BackendError> { in load_from_dir() argument
|
| H A D | pytorch.rs | 8 use crate::{ExecutionContext, Graph}; 23 fn load(&mut self, builders: &[&[u8]], target: ExecutionTarget) -> Result<Graph, BackendError> { in load() argument 57 ) -> Result<Graph, BackendError> { in load_from_dir() argument
|
| H A D | onnx.rs | 8 use crate::{ExecutionContext, Graph}; 34 fn load(&mut self, builders: &[&[u8]], target: ExecutionTarget) -> Result<Graph, BackendError> { in load() argument 94 ) -> Result<Graph, BackendError> { in load_from_dir() argument
|
| H A D | winml.rs | 15 use crate::{ExecutionContext, Graph}; 36 fn load(&mut self, builders: &[&[u8]], target: ExecutionTarget) -> Result<Graph, BackendError> { in load() argument 70 ) -> Result<Graph, BackendError> { in load_from_dir() argument
|
| /wasmtime-44.0.1/crates/wasmtime/src/compile/ |
| H A D | stratify.rs | 57 graphs::{Graph, Scc, StronglyConnectedComponents}, 95 G: Debug + Graph<Node>, in new() 191 use wasmtime_environ::graphs::Graph; 211 impl Graph<Function> for Functions {
|
| /wasmtime-44.0.1/crates/wasi-nn/examples/classification-component-onnx/src/ |
| H A D | main.rs | 16 graph::{Graph, GraphBuilder, load, ExecutionTarget, GraphEncoding}, 61 let exec_context = Graph::init_execution_context(&graph).unwrap(); in main()
|
| /wasmtime-44.0.1/crates/fuzzing/src/generators/gc_ops/ |
| H A D | types.rs | 8 use wasmtime_environ::graphs::{Dfs, DfsEvent, Graph}; 46 impl Graph<TypeId> for SupertypeGraph<'_> { 77 impl Graph<RecGroupId> for RecGroupGraph<'_> {
|
| /wasmtime-44.0.1/crates/wasi-nn/wit/ |
| H A D | wasi-nn.wit | 142 // Graph is too large. 144 // Graph not found.
|
| /wasmtime-44.0.1/cranelift/ |
| H A D | rustc.md | 60 Value State Dependence Graph (VSDG), we can do so with fewer
|
| /wasmtime-44.0.1/crates/wasmtime/src/ |
| H A D | compile.rs | 35 graphs::{EntityGraph, Graph as _},
|