Home
last modified time | relevance | path

Searched full:reduce (Results 1 – 25 of 12939) sorted by relevance

12345678910>>...518

/aosp_15_r20/frameworks/compile/slang/tests/P_reduce_general_inputs/
Dreduce_general_inputs.rscript17 #pragma rs reduce(my_half_half_0) accumulator(my_half_half_0_accum) combiner(combiner)
20 #pragma rs reduce(my_half_half_1) accumulator(my_half_half_1_accum) combiner(combiner)
23 #pragma rs reduce(my_half_half2_0) accumulator(my_half_half2_0_accum) combiner(combiner)
26 #pragma rs reduce(my_half_half2_1) accumulator(my_half_half2_1_accum) combiner(combiner)
29 #pragma rs reduce(my_half_half4_0) accumulator(my_half_half4_0_accum) combiner(combiner)
32 #pragma rs reduce(my_half_half4_1) accumulator(my_half_half4_1_accum) combiner(combiner)
35 #pragma rs reduce(my_half_float_0) accumulator(my_half_float_0_accum) combiner(combiner)
38 #pragma rs reduce(my_half_float_1) accumulator(my_half_float_1_accum) combiner(combiner)
41 #pragma rs reduce(my_half_float2_0) accumulator(my_half_float2_0_accum) combiner(combiner)
44 #pragma rs reduce(my_half_float2_1) accumulator(my_half_float2_1_accum) combiner(combiner)
[all …]
/aosp_15_r20/external/python/cpython3/Lib/test/decimaltestdata/
Dreduce.decTest2 -- reduce.decTest -- remove trailing zeros --
30 redx001 reduce '1' -> '1'
31 redx002 reduce '-1' -> '-1'
32 redx003 reduce '1.00' -> '1'
33 redx004 reduce '-1.00' -> '-1'
34 redx005 reduce '0' -> '0'
35 redx006 reduce '0.00' -> '0'
36 redx007 reduce '00.0' -> '0'
37 redx008 reduce '00.00' -> '0'
38 redx009 reduce '00' -> '0'
[all …]
DdqReduce.decTest30 dqred001 reduce '1' -> '1'
31 dqred002 reduce '-1' -> '-1'
32 dqred003 reduce '1.00' -> '1'
33 dqred004 reduce '-1.00' -> '-1'
34 dqred005 reduce '0' -> '0'
35 dqred006 reduce '0.00' -> '0'
36 dqred007 reduce '00.0' -> '0'
37 dqred008 reduce '00.00' -> '0'
38 dqred009 reduce '00' -> '0'
39 dqred010 reduce '0E+1' -> '0'
[all …]
DddReduce.decTest29 ddred001 reduce '1' -> '1'
30 ddred002 reduce '-1' -> '-1'
31 ddred003 reduce '1.00' -> '1'
32 ddred004 reduce '-1.00' -> '-1'
33 ddred005 reduce '0' -> '0'
34 ddred006 reduce '0.00' -> '0'
35 ddred007 reduce '00.0' -> '0'
36 ddred008 reduce '00.00' -> '0'
37 ddred009 reduce '00' -> '0'
38 ddred010 reduce '0E+1' -> '0'
[all …]
/aosp_15_r20/external/python/cpython2/Lib/test/decimaltestdata/
Dreduce.decTest2 -- reduce.decTest -- remove trailing zeros --
30 redx001 reduce '1' -> '1'
31 redx002 reduce '-1' -> '-1'
32 redx003 reduce '1.00' -> '1'
33 redx004 reduce '-1.00' -> '-1'
34 redx005 reduce '0' -> '0'
35 redx006 reduce '0.00' -> '0'
36 redx007 reduce '00.0' -> '0'
37 redx008 reduce '00.00' -> '0'
38 redx009 reduce '00' -> '0'
[all …]
DdqReduce.decTest30 dqred001 reduce '1' -> '1'
31 dqred002 reduce '-1' -> '-1'
32 dqred003 reduce '1.00' -> '1'
33 dqred004 reduce '-1.00' -> '-1'
34 dqred005 reduce '0' -> '0'
35 dqred006 reduce '0.00' -> '0'
36 dqred007 reduce '00.0' -> '0'
37 dqred008 reduce '00.00' -> '0'
38 dqred009 reduce '00' -> '0'
39 dqred010 reduce '0E+1' -> '0'
[all …]
DddReduce.decTest29 ddred001 reduce '1' -> '1'
30 ddred002 reduce '-1' -> '-1'
31 ddred003 reduce '1.00' -> '1'
32 ddred004 reduce '-1.00' -> '-1'
33 ddred005 reduce '0' -> '0'
34 ddred006 reduce '0.00' -> '0'
35 ddred007 reduce '00.0' -> '0'
36 ddred008 reduce '00.00' -> '0'
37 ddred009 reduce '00' -> '0'
38 ddred010 reduce '0E+1' -> '0'
[all …]
/aosp_15_r20/frameworks/compile/slang/tests/P_reduce_general_input/
Dreduce_general_input.rscript17 #pragma rs reduce(my_half_0) accumulator(my_half_0_accum) combiner(combiner)
20 #pragma rs reduce(my_half_1) accumulator(my_half_1_accum) combiner(combiner)
23 #pragma rs reduce(my_half_2) accumulator(my_half_2_accum) combiner(combiner)
26 #pragma rs reduce(my_half_3) accumulator(my_half_3_accum) combiner(combiner)
29 #pragma rs reduce(my_half_4) accumulator(my_half_4_accum) combiner(combiner)
32 #pragma rs reduce(my_half_5) accumulator(my_half_5_accum) combiner(combiner)
35 #pragma rs reduce(my_half_6) accumulator(my_half_6_accum) combiner(combiner)
38 #pragma rs reduce(my_half_7) accumulator(my_half_7_accum) combiner(combiner)
41 #pragma rs reduce(my_half_8) accumulator(my_half_8_accum) combiner(combiner)
44 #pragma rs reduce(my_half_9) accumulator(my_half_9_accum) combiner(combiner)
[all …]
/aosp_15_r20/external/google-fruit/extras/scripts/
H A Dparser.out128 $end reduce using rule 3 (optional_balanced_string -> .)
129 COMMA reduce using rule 3 (optional_balanced_string -> .)
130 GREATER_THAN reduce using rule 3 (optional_balanced_string -> .)
131 RBRACKET reduce using rule 3 (optional_balanced_string -> .)
132 RPAREN reduce using rule 3 (optional_balanced_string -> .)
133 RBRACE reduce using rule 3 (optional_balanced_string -> .)
164 $end reduce using rule 3 (optional_balanced_string -> .)
165 COMMA reduce using rule 3 (optional_balanced_string -> .)
166 GREATER_THAN reduce using rule 3 (optional_balanced_string -> .)
167 RBRACKET reduce using rule 3 (optional_balanced_string -> .)
[all …]
/aosp_15_r20/frameworks/compile/slang/tests/P_reduce_general_result/
Dreduce_general_result.rscript13 #pragma rs reduce(my_half) accumulator(my_half_accum) combiner(my_half_comb)
17 #pragma rs reduce(my_half2) accumulator(my_half2_accum) combiner(my_half2_comb)
21 #pragma rs reduce(my_half4) accumulator(my_half4_accum) combiner(my_half4_comb)
25 #pragma rs reduce(my_array_half) accumulator(my_array_half_accum) combiner(my_array_half_comb)
30 #pragma rs reduce(my_array_half2) accumulator(my_array_half2_accum) combiner(my_array_half2_comb)
35 #pragma rs reduce(my_array_half4) accumulator(my_array_half4_accum) combiner(my_array_half4_comb)
40 #pragma rs reduce(my_float) accumulator(my_float_accum) combiner(my_float_comb)
44 #pragma rs reduce(my_float2) accumulator(my_float2_accum) combiner(my_float2_comb)
48 #pragma rs reduce(my_float4) accumulator(my_float4_accum) combiner(my_float4_comb)
52 #pragma rs reduce(my_array_float) accumulator(my_array_float_accum) combiner(my_array_float_comb)
[all …]
/aosp_15_r20/frameworks/compile/slang/tests/P_reduce_general_accumulator/
Dreduce_general_accumulator.rscript29 #pragma rs reduce(my_half) accumulator(my_half_accum) combiner(my_half_comb) outconverter(my_half_o…
34 #pragma rs reduce(my_half2) accumulator(my_half2_accum) combiner(my_half2_comb) outconverter(my_hal…
39 #pragma rs reduce(my_half4) accumulator(my_half4_accum) combiner(my_half4_comb) outconverter(my_hal…
44 #pragma rs reduce(my_array_half) accumulator(my_array_half_accum) combiner(my_array_half_comb) outc…
50 #pragma rs reduce(my_array_half2) accumulator(my_array_half2_accum) combiner(my_array_half2_comb) o…
56 #pragma rs reduce(my_array_half4) accumulator(my_array_half4_accum) combiner(my_array_half4_comb) o…
62 #pragma rs reduce(my_float) accumulator(my_float_accum) combiner(my_float_comb) outconverter(my_flo…
67 #pragma rs reduce(my_float2) accumulator(my_float2_accum) combiner(my_float2_comb) outconverter(my_…
72 #pragma rs reduce(my_float4) accumulator(my_float4_accum) combiner(my_float4_comb) outconverter(my_…
77 #pragma rs reduce(my_array_float) accumulator(my_array_float_accum) combiner(my_array_float_comb) o…
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/service/
H A Dar_crs_combiner_test.cc415 %all-reduce.ar.1 = bf16[] in TEST_F()
416 all-reduce(%p), in TEST_F()
422 convert(%all-reduce.ar.1), in TEST_F()
424 %all-reduce.1 = f32[] in TEST_F()
425 all-reduce(%convert.1), in TEST_F()
430 %all-reduce.ar.2 = bf16[] in TEST_F()
431 all-reduce(%constant.bf16), in TEST_F()
437 convert(%all-reduce.ar.2), in TEST_F()
439 %all-reduce.2 = f32[] in TEST_F()
440 all-reduce(%convert.2), in TEST_F()
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/service/gpu/
H A Dgpu_fusible_test.cc42 ROOT reduce = f32[2,2]{1,0} reduce(exp, c0), dimensions={2}, to_apply=scalar_add in TEST_F()
67 ROOT reduce = f32[1024]{0} reduce(convert, c0.2), dimensions={0,2,3}, to_apply=scalar_add in TEST_F()
100 ROOT reduce = f32[1]{0} reduce(convert, c0.2), dimensions={0,2,3}, to_apply=scalar_add in TEST_F()
122 ROOT reduce = f32[1024]{0} reduce(p0.1, c0.1), dimensions={0,2,3}, to_apply=scalar_add in TEST_F()
142 ROOT reduce = f32[1024]{0} reduce(p0.1, c0.1), dimensions={1,2,3}, to_apply=scalar_add in TEST_F()
172 ROOT reduce = f32[1024]{0} reduce(convert, c0.2), dimensions={0,2,3}, to_apply=scalar_add in TEST_F()
203 ROOT reduce = f32[1024]{0} reduce(loop_fusion, c0.2), dimensions={0,2,3}, to_apply=scalar_add in TEST_F()
219 ROOT reduce = f32[512]{0} reduce(p1, c0), dimensions={0,2,3}, to_apply=scalar_add in TEST_F()
223 const HloInstruction* reduce = in TEST_F() local
225 ASSERT_EQ(reduce->opcode(), HloOpcode::kReduce); in TEST_F()
[all …]
H A Dmulti_output_fusion_test.cc61 // Fusion with reduce instruction root and a sibling reduce instruction in TEST_F()
68 …ROOT reduce.1 = f32[512]{0} reduce(mul, const.1), dimensions={0,2,3}, to_apply=scalar_add_computat… in TEST_F()
76reduce.2 = f32[512]{0} reduce(p1, const.2), dimensions={0,2,3}, to_apply=scalar_add_computation in TEST_F()
77 ROOT root = (f32[512]{0}, f32[512]{0}) tuple(fusion, reduce.2) in TEST_F()
86 op::Tuple(op::Reduce(), op::Reduce())); in TEST_F()
95 ROOT reduce.1 = f32[] reduce(mul, const.1), dimensions={0}, to_apply=scalar_add_computation in TEST_F()
102 ROOT reduce.2 = f32[] reduce(r1, const.2), dimensions={1,0}, to_apply=scalar_mul_computation in TEST_F()
122 ROOT reduce.1 = f32[] reduce(mul, const.1), dimensions={0,1}, to_apply=scalar_add_computation in TEST_F()
128 … ROOT reduce.2 = f32[10]{0} reduce(p1.2, const.2), dimensions={0}, to_apply=scalar_mul_computation in TEST_F()
144 // Two sibling fusions with reduce instruction roots sharing the same input in TEST_F()
[all …]
H A Dreduction_splitter.cc30 Status HandleReduce(HloInstruction *reduce) override { in HandleReduce() argument
31 VLOG(4) << "Input: " << reduce->ToString(); in HandleReduce()
35 if (IsReductionFromOrToContiguousDimensions(*reduce)) { in HandleReduce()
38 if (reduce->dimensions().size() < 2) { in HandleReduce()
41 if (!reduce->shape().IsArray()) { in HandleReduce()
46 HloInstruction *operand = reduce->mutable_operand(0); in HandleReduce()
52 for (int64_t i = 0; i < reduce->dimensions().size(); ++i) { in HandleReduce()
53 for (int64_t j = i + 1; j < reduce->dimensions().size(); ++j) { in HandleReduce()
54 CHECK(abs(reduce->dimensions(i) - reduce->dimensions(j)) > 1) in HandleReduce()
59 // The reduce op has non-contiguous dimensions. Look for the dimension with in HandleReduce()
[all …]
/aosp_15_r20/frameworks/compile/slang/tests/F_reduce_general_bad_function/
Dstderr.txt.expect1 reduce_general_bad_function.rscript:18:13: error: initializer init0() for '#pragma rs reduce(init0)…
2 reduce_general_bad_function.rscript:22:13: error: initializer init2() for '#pragma rs reduce(init2)…
3 …nction.rscript:26:13: error: initializer init_special1() for '#pragma rs reduce(init_special1)' (r…
4 …ction.rscript:30:13: error: initializer init2_special1() for '#pragma rs reduce(init2_special1)' (…
5 …ction.rscript:34:13: error: initializer init2_special0() for '#pragma rs reduce(init2_special0)' (…
6 reduce_general_bad_function.rscript:38:13: error: initializer init_noptr() for '#pragma rs reduce(i…
7 …uplicate function definition for 'initializer(init_dup)' for '#pragma rs reduce(init_dup)' (reduce…
8 … not find function definition for 'initializer(init_missing)' for '#pragma rs reduce(init_missing)'
9 …nction.rscript:54:6: error: initializer init_nonstatic() for '#pragma rs reduce(init_nonstatic)' (…
10 reduce_general_bad_function.rscript:58:12: error: initializer init_nonvoid() for '#pragma rs reduce
[all …]
Dreduce_general_bad_function.rscript17 #pragma rs reduce(init0) initializer(init0) accumulator(AccumInt)
21 #pragma rs reduce(init2) initializer(init2) accumulator(AccumInt)
25 #pragma rs reduce(init_special1) initializer(init_special1) accumulator(AccumInt)
29 #pragma rs reduce(init2_special1) initializer(init2_special1) accumulator(AccumInt)
33 #pragma rs reduce(init2_special0) initializer(init2_special0) accumulator(AccumInt)
37 #pragma rs reduce(init_noptr) initializer(init_noptr) accumulator(AccumInt)
41 #pragma rs reduce(init_over) initializer(init_over) accumulator(AccumInt)
45 #pragma rs reduce(init_dup) initializer(init_dup) accumulator(AccumInt)
50 #pragma rs reduce(init_missing) initializer(init_missing) accumulator(AccumInt)
53 #pragma rs reduce(init_nonstatic) initializer(init_nonstatic) accumulator(AccumInt)
[all …]
/aosp_15_r20/external/angle/third_party/glslang/src/Test/baseResults/
H A Dspv.shaderBallotAMD.comp.out96 29: 6(int) GroupSMin 28 Reduce 27
102 36: 7(int) GroupUMin 28 Reduce 35
104 38: 7(int) GroupUMin 28 Reduce 37
111 46: 9(float) GroupFMin 28 Reduce 45
113 48: 9(float) GroupFMin 28 Reduce 47
115 50: 9(float) GroupFMin 28 Reduce 49
122 58:11(float64_t) GroupFMin 28 Reduce 57
124 60:11(float64_t) GroupFMin 28 Reduce 59
126 62:11(float64_t) GroupFMin 28 Reduce 61
128 64:11(float64_t) GroupFMin 28 Reduce 63
[all …]
/aosp_15_r20/external/deqp-deps/glslang/Test/baseResults/
Dspv.shaderBallotAMD.comp.out96 29: 6(int) GroupSMin 28 Reduce 27
102 36: 7(int) GroupUMin 28 Reduce 35
104 38: 7(int) GroupUMin 28 Reduce 37
111 46: 9(float) GroupFMin 28 Reduce 45
113 48: 9(float) GroupFMin 28 Reduce 47
115 50: 9(float) GroupFMin 28 Reduce 49
122 58:11(float64_t) GroupFMin 28 Reduce 57
124 60:11(float64_t) GroupFMin 28 Reduce 59
126 62:11(float64_t) GroupFMin 28 Reduce 61
128 64:11(float64_t) GroupFMin 28 Reduce 63
[all …]
/aosp_15_r20/external/jsilver/src/com/google/clearsilver/jsilver/syntax/parser/
H A DParser.java30 private final static int REDUCE = 1; field in Parser
166 case REDUCE: in parse()
169 case 0: /* reduce ANone1Grammar */ in parse()
175 case 1: /* reduce AOne1Grammar */ in parse()
181 case 2: /* reduce AMany1Grammar */ in parse()
187 case 3: /* reduce ADataCommand */ in parse()
193 case 4: /* reduce AAcommentcommand1Command */ in parse()
199 case 5: /* reduce AAcommentcommand2Command */ in parse()
205 case 6: /* reduce AVarCommand */ in parse()
211 case 7: /* reduce ALvarCommand */ in parse()
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/lite/kernels/
H A Dreduce.cc15 #include "tensorflow/lite/kernels/internal/reference/reduce.h"
31 #include "tensorflow/lite/kernels/internal/optimized/reduce.h"
44 namespace reduce { namespace
201 // mean or temp prod when calculating reduce prod. in InitializeTemporaries()
649 // Apply reduce operation using the 'reducer' function on all of 'input_data'.
650 // and reduce all to single element.
691 // Reduce all data from different workers. in ReduceAllDims()
698 // The underlying logic for Reduce Sum/Prod/Max/Min/Any
863 // Rescaling 8bit reduce sum. in EvalSum()
1001 } // namespace reduce
[all …]
/aosp_15_r20/external/python/cpython3/Modules/_decimal/libmpdec/literature/
Dumodarith.lisp250 ;; dw-reduce is correct
253 (defun dw-reduce (hi lo m base)
258 (defthmd dw-reduce-correct
263 (equal (dw-reduce hi lo m base)
272 (defthmd dw-reduce-aux1
285 (defthm dw-reduce-aux2
292 (defthmd dw-reduce-second-quotient-fits-in-single-word
302 ("Subgoal 1.2" :use ((:instance dw-reduce-aux1
311 (let* ((r (dw-reduce hi lo m base))
330 :hints (("Goal" :in-theory (disable dw-reduce)
[all …]
/aosp_15_r20/external/pytorch/aten/src/ATen/native/cpu/
H A DReduceUtils.h22 static constexpr auto reduce = ReductionType::SUM; \
26 static constexpr auto reduce = ReductionType::MEAN; \
30 static constexpr auto reduce = ReductionType::MIN; \
34 static constexpr auto reduce = ReductionType::MAX; \
38 static constexpr auto reduce = ReductionType::PROD; \
44 template <typename scalar_t, ReductionType reduce>
48 if (reduce == ReductionType::SUM || in init_value()
49 reduce == ReductionType::MEAN) { in init_value()
51 } else if (reduce == ReductionType::PROD) { in init_value()
53 } else if (reduce == ReductionType::MAX) { in init_value()
[all …]
/aosp_15_r20/frameworks/compile/slang/tests/F_reduce_general_bad_result/
Dreduce_general_bad_result.rscript21 #pragma rs reduce(redUInt2dA) accumulator(AccumUInt2dA) combiner(CombUInt2dA)
26 #pragma rs reduce(redUInt2dAOutFix) accumulator(AccumUInt2dA) combiner(CombUInt2dA) \
31 #pragma rs reduce(redUInt2dAOutBreak) accumulator(AccumInt) outconverter(OutUInt2dABreak)
52 #pragma rs reduce(redUnionShortDouble) accumulator(AccumUnionShortDouble) \
59 #pragma rs reduce(redUnionCharIntOutFix) accumulator(AccumUnionCharInt) \
66 #pragma rs reduce(redUnionLongFloatOutBreak) accumulator(AccumInt) \
91 #pragma rs reduce(redUnionIntFloatArray) accumulator(AccumUnionIntFloatArray) \
98 #pragma rs reduce(redUnionDoubleFloatArrayOutFix) accumulator(AccumUnionDoubleFloatArray) \
106 #pragma rs reduce(redUnionCharLongArrayOutBreak) accumulator(AccumInt) \
128 #pragma rs reduce(redBits) accumulator(AccumBits) combiner(CombineBits)
[all …]
/aosp_15_r20/external/pytorch/torch/nn/modules/
H A Dloss.py41 def __init__(self, size_average=None, reduce=None, reduction: str = "mean") -> None: argument
43 if size_average is not None or reduce is not None:
44 self.reduction: str = _Reduction.legacy_get_string(size_average, reduce)
54 reduce=None, argument
57 super().__init__(size_average, reduce, reduction)
96 when :attr:`reduce` is ``False``. Default: ``True``
97 reduce (bool, optional): Deprecated (see :attr:`reduction`). By default, the
99 on :attr:`size_average`. When :attr:`reduce` is ``False``, returns a loss per
105 and :attr:`reduce` are in the process of being deprecated, and in the meantime,
124 def __init__(self, size_average=None, reduce=None, reduction: str = "mean") -> None: argument
[all …]

12345678910>>...518