Home
last modified time | relevance | path

Searched refs:Graph (Results 1 – 21 of 21) sorted by relevance

/wasmtime-44.0.1/crates/environ/src/graphs/
H A Dscc.rs75 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 Ddfs.rs58 G: Graph<Node>, in next()
H A Dentity_graph.rs77 impl<Node> Graph<Node> for EntityGraph<Node>
/wasmtime-44.0.1/crates/test-programs/src/
H A Dnn.rs23 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 Din_memory.rs3 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 Dmod.rs11 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 Dgraphs.rs15 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 Dwit.rs124 "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 Dlib.rs55 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 Dwitx.rs19 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 Dmod.rs24 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 Dopenvino.rs8 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 Dpytorch.rs8 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 Donnx.rs8 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 Dwinml.rs15 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 Dstratify.rs57 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 Dmain.rs16 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 Dtypes.rs8 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 Dwasi-nn.wit142 // Graph is too large.
144 // Graph not found.
/wasmtime-44.0.1/cranelift/
H A Drustc.md60 Value State Dependence Graph (VSDG), we can do so with fewer
/wasmtime-44.0.1/crates/wasmtime/src/
H A Dcompile.rs35 graphs::{EntityGraph, Graph as _},