Home
last modified time | relevance | path

Searched refs:inputs (Results 1 – 25 of 64) sorted by relevance

123

/wasmtime-44.0.1/cranelift/isle/veri/veri_engine/tests/utils/
H A Dmod.rs65 let mut inputs = compilations.lookup(name).unwrap().inputs(); in get_isle_files() localVariable
66 inputs.push(inst_specs_isle); in get_isle_files()
67 inputs in get_isle_files()
183 inputs.push(PathBuf::from(file)); in test_from_file_with_lhs_termname()
191 test_rules_with_term(inputs, tr, config); in test_from_file_with_lhs_termname()
204 let inputs = get_isle_files("aarch64"); in test_aarch64_rule_with_lhs_termname() localVariable
225 let inputs = get_isle_files("x64"); in test_x64_rule_with_lhs_termname() localVariable
246 inputs.push(PathBuf::from(file)); in test_from_file_with_config()
259 let inputs = get_isle_files("aarch64"); in test_aarch64_with_config() localVariable
269 let inputs = get_isle_files("aarch64"); in test_concrete_aarch64_rule_with_lhs_termname() localVariable
[all …]
/wasmtime-44.0.1/crates/wasi-nn/src/backend/
H A Dpytorch.rs84 inputs: Vec::new(), in init_execution_context()
97 inputs: Vec<Option<tch::Tensor>>, field
129 if i >= self.inputs.len() { in set_input()
160 inputs: Option<Vec<NamedTensor>>, in compute()
162 match inputs { in compute()
164 Some(inputs) => { in compute()
165 self.inputs.clear(); in compute()
167 for input in &inputs { in compute()
187 .inputs in compute()
216 if self.inputs.is_empty() { in compute()
[all …]
H A Donnx.rs11 inputs,
111 let mut inputs = vec![]; in init_execution_context() localVariable
112 for input in &session.inputs { in init_execution_context()
114 inputs.push(TensorSlot { in init_execution_context()
131 inputs, in init_execution_context()
140 inputs: Vec<TensorSlot>, field
193 match inputs { in compute()
195 Some(inputs) => { in compute()
199 for input in &inputs { in compute()
201 .inputs in compute()
[all …]
H A Dopenvino.rs114 inputs: Option<Vec<NamedTensor>>, in compute()
116 match inputs { in compute()
118 Some(inputs) => { in compute()
120 for input in &inputs { in compute()
/wasmtime-44.0.1/cranelift/codegen/meta/src/
H A Disle.rs29 pub inputs: Vec<std::path::PathBuf>, field
34 pub fn inputs(&self) -> Vec<std::path::PathBuf> { in inputs() method
35 self.inputs in inputs()
104 inputs: vec![ in get_isle_compilations()
126 inputs: vec![ in get_isle_compilations()
142 inputs: vec![ in get_isle_compilations()
156 inputs: vec![ in get_isle_compilations()
168 inputs: vec![ in get_isle_compilations()
182 inputs: vec![ in get_isle_compilations()
/wasmtime-44.0.1/cranelift/isle/veri/veri_engine/src/
H A Dmain.rs71 let mut inputs = compilations in isle_input_files() localVariable
74 .inputs(); in isle_input_files()
75 inputs.push(inst_specs_isle); in isle_input_files()
78 Ok(inputs) in isle_input_files()
96 let inputs = if args.noprelude { in main() localVariable
121 verify_rules(inputs, &config, &args.widths) in main()
H A Dverify.rs17 inputs: Vec<PathBuf>, in verify_rules()
23 let (typeenv, termenv, defs) = create_envs(inputs).unwrap(); in verify_rules()
/wasmtime-44.0.1/.github/actions/install-rust/
H A Daction.yml4 inputs:
28 range=${{ inputs.msrv_range }}
30 if [ "${{ inputs.toolchain }}" = "default" ]; then
32 elif [ "${{ inputs.toolchain }}" = "msrv" ]; then
34 elif [ "${{ inputs.toolchain }}" = "wasmtime-ci-pinned-nightly" ]; then
36 elif [ "${{ inputs.toolchain }}" = "wasmtime-ci-oss-fuzz-pin" ]; then
43 echo "version=${{ inputs.toolchain }}" >> "$GITHUB_OUTPUT"
/wasmtime-44.0.1/cranelift/fuzzgen/src/
H A Dprint.rs21 inputs: &'a [TestCaseInput], field
31 inputs: &[], in compile()
41 inputs: &'a [TestCaseInput], in run()
47 inputs, in run()
83 if !self.inputs.is_empty() { in fmt()
90 for input in self.inputs.iter() { in fmt()
H A Dlib.rs71 let mut inputs = Vec::new(); in generate_test_inputs() localVariable
85 inputs.push(test_args); in generate_test_inputs()
99 Ok(inputs) in generate_test_inputs()
/wasmtime-44.0.1/examples/tokio/
H A Dmain.rs84 async fn run_wasm(inputs: Inputs) -> Result<(), Error> { in run_wasm()
89 .env("NAME", &inputs.name) in run_wasm()
91 let mut store = Store::new(&inputs.env.engine, wasi); in run_wasm()
101 let instance = inputs in run_wasm()
104 .instantiate_async(&mut store, &inputs.env.module) in run_wasm()
/wasmtime-44.0.1/.github/actions/android-ndk/
H A Daction.yml10 inputs:
23 target=${{ inputs.target }}
24 cc_target=$(echo ${{ inputs.target }} | tr - _)
27 linker=$ndk_bin/${target}${{ inputs.android-platform }}-clang
/wasmtime-44.0.1/.github/actions/install-cargo-vet/
H A Daction.yml4 inputs:
16 key: cargo-vet-bin-${{ inputs.version }}
22 --rev ${{ inputs.version }} \
/wasmtime-44.0.1/cranelift/isle/isle/src/
H A Dcompile.rs38 inputs: impl IntoIterator<Item = P>, in from_files()
41 let files = match Files::from_paths(inputs, &options.prefixes) { in from_files()
72 inputs: Vec<std::path::PathBuf>, in create_envs()
74 let files = match Files::from_paths(inputs, &[]) { in create_envs()
/wasmtime-44.0.1/crates/wiggle/tests/
H A Drecords.rs470 inputs: Vec<u8>, field
493 .prop_flat_map(|(inputs, input_struct_loc, output_loc)| { in strat()
495 Just(inputs.clone()), in strat()
497 inputs.len() as u32, in strat()
506 |(inputs, input_array_loc, input_struct_loc, output_loc)| SumArrayExercise { in strat()
507 inputs, in strat()
521 for (ix, val) in self.inputs.iter().enumerate() { in test()
538 self.inputs.len() as u32, in test()
555 let expected: u16 = self.inputs.iter().map(|v| *v as u16).sum(); in test()
/wasmtime-44.0.1/cranelift/codegen/src/isa/x64/
H A Dlower.rs53 let inputs = ctx.get_input_as_source_or_const(input.insn, input.input); in matches_input() localVariable
54 inputs.inst.as_inst().and_then(|(src_inst, _)| { in matches_input()
115 let inputs = ctx.num_inputs(src_insn); in is_mergeable_load() localVariable
116 if inputs != 1 { in is_mergeable_load()
167 inputs: &[ValueRegs<Reg>], in emit_vm_call()
182 let uses = ctx.gen_call_args(sig, inputs); in emit_vm_call()
/wasmtime-44.0.1/fuzz/fuzz_targets/
H A Dcranelift-fuzzgen.rs161 pub inputs: Vec<TestCaseInput>, field
171 PrintableTestCase::run(&self.isa, &self.functions, &self.inputs).fmt(f) in fmt()
236 let inputs = generator.generate_test_inputs(&main.signature)?; in generate() localVariable
242 inputs, in generate()
264 inputs: self.inputs.clone(), in to_optimized()
336 for args in &testcase.inputs { in run_test_inputs()
/wasmtime-44.0.1/cranelift/isle/islec/src/
H A Dmain.rs19 inputs: Vec<PathBuf>, field
26 let code = compile::from_files(opts.inputs, &Default::default())?; in main()
/wasmtime-44.0.1/.github/actions/build-adapter-provider/
H A Daction.yml4 inputs:
17 run-id: ${{ inputs.run-id }}
/wasmtime-44.0.1/crates/wasi-nn/wit/
H A Dwasi-nn.wit7 /// Then, the user passes _tensor_ inputs to the _graph_, computes the inference, and retrieves the
18 /// All inputs and outputs to an ML inference are represented as `tensor`s.
116 /// graph inputs and outputs.
124 /// Compute the inference on the given inputs.
125 compute: func(inputs: list<named-tensor>) -> result<list<named-tensor>, error>;
/wasmtime-44.0.1/crates/fuzzing/src/generators/
H A Dstacks.rs23 inputs: Vec<u8>, field
48 let inputs = u.bytes(n)?.to_vec(); in arbitrary() localVariable
52 inputs, in arbitrary()
104 pub fn inputs(&self) -> &[u8] { in inputs() method
105 &self.inputs in inputs()
/wasmtime-44.0.1/cranelift/codegen/src/isa/aarch64/
H A Dlower.rs24 let inputs = ctx.get_value_as_source_or_const(val); in get_as_extended_value() localVariable
25 let (insn, n) = inputs.inst.as_inst()?; in get_as_extended_value()
/wasmtime-44.0.1/crates/wizer/.github/actions/install-rust/
H A Daction.yml4 inputs:
/wasmtime-44.0.1/crates/wizer/.github/actions/binary-compatible-builds/
H A Daction.yml7 inputs:
/wasmtime-44.0.1/crates/wasmtime/src/
H A Dcompile.rs262 inputs: Vec<CompileInput<'a>>, field
270 self.inputs.push(Box::new(f)); in push_input()
279 let mut ret = CompileInputs { inputs: vec![] }; in for_module()
304 let mut ret = CompileInputs { inputs: vec![] }; in for_component()
544 if self.inputs.len() > 0 && cfg!(miri) { in compile()
569 engine.run_maybe_parallel::<_, _, Error, _>(self.inputs, |f| { in compile()
581 engine.run_maybe_parallel(self.inputs, |f| f(compiler))? in compile()
619 engine.run_maybe_parallel(self.inputs, |f| f(compiler).map(Some))?, in compile_with_inlining()

123