Home
last modified time | relevance | path

Searched full:slice_copy (Results 1 – 25 of 54) sorted by relevance

123

/aosp_15_r20/external/executorch/backends/cadence/aot/tests/
H A Dtest_reorder_ops_passes.py64 x1 = torch.slice_copy(x, dim=0, start=0, end=6, step=1)
68 x2 = torch.slice_copy(x, dim=0, start=6, end=12, step=1)
72 x3 = torch.slice_copy(x, dim=0, start=12, end=18, step=1)
76 x4 = torch.slice_copy(x, dim=0, start=18, end=24, step=1)
107 exir_ops.edge.aten.slice_copy.Tensor,
211 x1 = torch.slice_copy(x0, dim=0, start=0, end=6, step=1)
214 x2 = torch.slice_copy(x0, dim=0, start=6, end=12, step=1)
217 x3 = torch.slice_copy(x0, dim=0, start=12, end=18, step=1)
252 exir_ops.edge.aten.slice_copy.Tensor,
H A Dtest_simplify_ops_passes.py87 return torch.slice_copy(
96 count_node(graph_module, exir_ops.edge.aten.slice_copy.Tensor), 1
104 count_node(graph_after_passes, exir_ops.edge.aten.slice_copy.Tensor), 0
H A Dtest_remove_ops_passes.py361 return torch.slice_copy(x, dim=0, start=0, step=1)
371 count_node(graph_after_passes, exir_ops.edge.aten.slice_copy.Tensor), 0
588 x = torch.slice_copy(x, 0, 0, 1)
615 x = torch.slice_copy(x, 0, 0, 1)
H A Dtest_replace_ops_passes.py1568 op=exir_ops.edge.aten.slice_copy.Tensor,
1577 self.assertEqual(count_node(gm, exir_ops.edge.aten.slice_copy.Tensor), 1)
1593 self.assertEqual(count_node(gm, exir_ops.edge.aten.slice_copy.Tensor), 1)
1610 self.assertEqual(count_node(gm, exir_ops.edge.aten.slice_copy.Tensor), 1)
/aosp_15_r20/external/rust/android-crates-io/crates/lz4_flex/src/
Dfastcpy.rs21 pub fn slice_copy(src: &[u8], dst: &mut [u8]) { in slice_copy() function
101 use super::slice_copy;
108 slice_copy(&left, &mut right);
118 slice_copy(&left, &mut right); in test_fast_short_slice_copy_edge_cases()
130 slice_copy(&left, &mut right); in test_fail2()
142 slice_copy(&left, &mut right); in test_fail()
Dfastcpy_unsafe.rs21 pub fn slice_copy(src: *const u8, dst: *mut u8, num_bytes: usize) { in slice_copy() function
118 use super::slice_copy;
128 slice_copy(left.as_ptr(), right.as_mut_ptr(), left.len());
138 slice_copy(left.as_ptr(), right.as_mut_ptr(), left.len()); in test_fast_short_slice_copy_edge_cases()
150 slice_copy(left.as_ptr(), right.as_mut_ptr(), left.len()); in test_fail2()
162 slice_copy(left.as_ptr(), right.as_mut_ptr(), left.len()); in test_fail()
Dsink.rs4 use crate::fastcpy::slice_copy;
173 slice_copy(data, &mut self.output[self.pos..(self.pos) + data.len()]); in extend_from_slice_wild()
/aosp_15_r20/external/executorch/backends/xnnpack/partition/
H A Dconfigs.py55 exir_ops.edge.aten.slice_copy.Tensor,
90 exir_ops.edge.aten.slice_copy.Tensor,
155 exir_ops.edge.aten.slice_copy.Tensor,
/aosp_15_r20/external/executorch/backends/cadence/aot/
H A Dreorder_ops.py29 torch.ops.aten.slice_copy,
45 exir_ops.edge.aten.slice_copy,
60 torch.ops.aten.slice_copy,
62 exir_ops.edge.aten.slice_copy,
557 exir_ops.edge.aten.slice_copy,
H A Dsimplify_ops.py61 # We are only interested in slice_copy or slice_scatter ops
63 exir_ops.edge.aten.slice_copy.Tensor,
/aosp_15_r20/external/executorch/backends/arm/operators/
H A Dop_slice.py22 target = "aten.slice_copy.Tensor"
36 # aten.slice_copy supports slicing in 1d at a time.
/aosp_15_r20/external/pytorch/aten/src/ATen/native/
H A Dts_native_functions.yaml152 - slice_copy.Tensor
215 - slice_copy.Tensor
/aosp_15_r20/external/executorch/exir/passes/
H A Dremove_noop_pass.py65 torch.ops.aten.slice_copy.Tensor,
79 if node.target == torch.ops.aten.slice_copy.Tensor:
H A Dreplace_broken_ops_with_function_ops_pass.py25 torch.ops.aten.slice.Tensor: torch.ops.aten.slice_copy.Tensor,
H A D_quant_patterns_and_replacements.py829 x = torch.ops.aten.slice_copy.Tensor(x, dim, start, end)
836 x = torch.ops.aten.slice_copy.Tensor(x, dim, start, end)
/aosp_15_r20/external/executorch/exir/tests/
H A Dtest_passes.py1244 (node.target == torch.ops.aten.slice_copy.Tensor)
1255 slice_tensor = torch.slice_copy(self.a, dim=0, start=0, end=1)
1461 # Check that the slice_copy is removed by the RemoveNoopPass.
1475 # Check that the slice_copy is not removed by the RemoveNoopPass.
1524 slice_copy_output = torch.ops.aten.slice_copy.Tensor(dq, 0, 0)
H A Dtest_quant_fusion_pass.py177 # check that we are using out variant of add and slice_copy
179 "torch.ops.aten.slice_copy.Tensor_out"
/aosp_15_r20/external/executorch/backends/xnnpack/operators/
H A Dop_slice_copy.py30 target = "aten.slice_copy.Tensor"
/aosp_15_r20/external/executorch/backends/arm/_passes/
H A Dconvert_split_to_slice.py25 slice = exir_ops.edge.aten.slice_copy.Tensor
H A Dsize_adjust_conv2d_pass.py75 slice_op = exir_ops.edge.aten.slice_copy.Tensor
/aosp_15_r20/external/executorch/backends/qualcomm/builders/
H A Dop_slice_copy.py19 target = ["aten.slice_copy.Tensor"]
/aosp_15_r20/external/executorch/backends/arm/test/quantizer/
H A Dtest_generic_annotater.py69 SingleOpModel(torch.slice_copy, (torch.randn(3, 4),)),
/aosp_15_r20/external/pytorch/test/
H A Dtest_functionalization.py947 slice_copy = torch.ops.aten.slice_copy.Tensor(transpose_copy, 0, 0, 2); transpose_copy = None
948 add = torch.ops.aten.add.Tensor(slice_copy, ones); slice_copy = ones = None
953 …slice_copy_1 = torch.ops.aten.slice_copy.Tensor(transpose_copy_3, 0, 0, 2); transpose_copy_3 = sl…
/aosp_15_r20/external/executorch/backends/arm/quantizer/quantization_annotation/
H A Dgeneric_annotator.py47 torch.ops.aten.slice_copy.Tensor,
/aosp_15_r20/external/executorch/backends/arm/operator_support/
H A Dtosa_supported_operators.py103 exir_ops.edge.aten.slice_copy.Tensor,

123