Home
last modified time | relevance | path

Searched refs:shape (Results 1 – 18 of 18) sorted by relevance

/wasmtime-44.0.1/crates/wasi-nn/src/backend/
H A Donnx.rs115 shape, in init_execution_context()
125 shape, in init_execution_context()
174 if let Err(e) = input.shape.matches(tensor) { in set_input()
187 (*shape) in compute()
249 ty: output.shape.ty, in compute()
278 ty: output.shape.ty, in compute()
295 output.shape.name in get_output()
312 shape: Shape, field
376 ValueType::Tensor { ty, shape, .. } => { in convert_value_type()
377 let dimensions = shape.to_vec(); in convert_value_type()
[all …]
H A Dopenvino.rs39 let shape = Shape::new(&[1, weights.len() as i64])?; in load() localVariable
40 let mut weights_tensor = OvTensor::new(ElementType::U8, &shape)?; in load()
100 let shape = Shape::new(&dimensions)?; in set_input() localVariable
101 let mut new_tensor = OvTensor::new(precision, &shape)?; in set_input()
128 let shape = Shape::new(&dimensions)?; in compute() localVariable
129 let mut new_tensor = OvTensor::new(precision, &shape)?; in compute()
H A Dwinml.rs276 let shape = IVectorView::<i64>::try_from( in to_inspectable() localVariable
292 TensorFloat16Bit::CreateFromArray(&shape, data)?.cast::<IInspectable>() in to_inspectable()
300 TensorFloat::CreateFromArray(&shape, data)?.cast::<IInspectable>() in to_inspectable()
308 TensorInt64Bit::CreateFromArray(&shape, data)?.cast::<IInspectable>() in to_inspectable()
/wasmtime-44.0.1/cranelift/filetests/filetests/cfg/
H A Dunused_node.clif6 ; check: block0 [shape=record, label="{block0(v0: i32):
9 ; check: block1 [shape=record, label="{block1:
12 ; check: block2 [shape=record, label="{block2:
15 ; check: block3 [shape=record, label="{block3:
H A Dloop.clif8 ; check: block0 [shape=record, label="{block0(v1: i32, v2: i32):
11 ; nextln: block3 [shape=record, label="{block3:
14 ; nextln: block1 [shape=record, label="{block1(v5: i32):
17 ; nextln: block4 [shape=record, label="{block4:
20 ; nextln: block2 [shape=record, label="{block2:
/wasmtime-44.0.1/crates/environ/src/
H A Dframe_table.rs587 shape: FrameStackShape, in stack()
589 fn unpack_option_shape(shape: FrameStackShape) -> Option<FrameStackShape> { in stack()
590 if shape.0 == u32::MAX { in stack()
593 Some(shape) in stack()
597 let mut shape = unpack_option_shape(shape); in stack() localVariable
599 shape.map(|s| { in stack()
606 shape = parent; in stack()
615 shape: FrameStackShape, in stack_and_locals()
617 self.locals().chain(self.stack(shape)) in stack_and_locals()
/wasmtime-44.0.1/crates/environ/src/compile/
H A Dframe_table.rs124 let shape = match self.stacks_dedup.entry((parent, ty, offset)) { in push_stack() localVariable
127 let shape = FrameStackShape(u32::try_from(self.stacks.len()).unwrap()); in push_stack() localVariable
129 *v.insert(shape) in push_stack()
133 (shape, offset) in push_stack()
137 pub fn stack_last_offset(&self, shape: FrameStackShape) -> FrameStateSlotOffset { in stack_last_offset()
138 self.stacks[shape.index()].2 in stack_last_offset()
/wasmtime-44.0.1/crates/wasi-nn/examples/classification-example-pytorch/src/
H A Dmain.rs25 let shape = &[1, 3, 224, 224]; in main() localVariable
28 context.set_input(0, precision, shape, &tensor_data)?; in main()
/wasmtime-44.0.1/crates/cranelift/src/translate/
H A Dstack.rs529 let shape = self.stack_shape[i]; in push_if() localVariable
530 self.stack_shape.push(shape); in push_if()
/wasmtime-44.0.1/docs/
H A Dexamples-fast-compilation.md39 shape of the Wasm program. Wasmtime will generally enable parallel compilation
H A Dcontributing-ci.md70 While we do run more tests here and there, this is the general shape of what you
H A Dcontributing-architecture.md95 wasm module it came from. Each `InstanceHandle` has a "shape" of a `VMContext`
/wasmtime-44.0.1/src/commands/
H A Dobjdump.rs758 fn describe_stack_shape(desc: &FrameStateSlot<'_>, shape: FrameStackShape) -> String { in describe_stack_shape()
760 for (offset, ty) in desc.stack(shape) { in describe_stack_shape()
/wasmtime-44.0.1/cranelift/
H A Drustc.md67 shape. As another example, it's often harder for superoptimizers to
/wasmtime-44.0.1/cranelift/docs/
H A Dir.md134 All SSA values have a type which determines the size and shape (for SIMD
/wasmtime-44.0.1/docs/js/
H A Dmermaid.min.11.6.0.js350 …!=null)if(typeof s=="object"){let[p,m]=Object.entries(s)[0];d[p]=m}else d.shape=s;if(l!=null)if(ty…
464 …w new Error(`No such shape: ${h.shape}. Shape names should be lowercase.`);if(!WZ(h.shape))throw n…
474 …t");let a=e.shape?QD[e.shape]:void 0;if(!a)throw new Error(`No such shape: ${e.shape}. Please chec…
1183 …sses=i.classes.join(" "),a.shape="requirementBox",a.look=e.look,r.push(a)}for(let i of this.elemen…
1949shape:"ellipse","shape-polygon-points":"-1, -1, 1, -1, 1, 1, -1, 1","corner-radius":"auto","…
2153shape,s=i.opacity,l=i.color;if(!a)return null;var u=n.width(),h=n.height(),f=H0e(l,s);return _f(""…
2251 …hape.toLowerCase()||f.shape.includes("_")))throw new Error(`No such shape: ${f.shape}. Shape names…
2523shape](n,e,r)}else i=await uve[e.shape](t,e,r),n=i;return e.tooltip&&i.attr("title",e.tooltip),e.c…
/wasmtime-44.0.1/cranelift/codegen/src/isa/x64/
H A Dlower.isle4403 ;; different shape.
/wasmtime-44.0.1/supply-chain/
H A Daudits.toml2808 …y around dependencies and how `unsafe` code is managed. Everything looks the same shape as before."