Home
last modified time | relevance | path

Searched refs:bool8 (Results 1 – 25 of 147) sorted by relevance

123456

/frameworks/ml/nn/common/operations/
DLogicalAndOr.cpp39 bool compute(const std::function<bool(bool, bool)>& func, const bool8* aData, const Shape& aShape, in compute()
40 const bool8* bData, const Shape& bShape, bool8* outputData, const Shape& outputShape) { in compute()
84 std::logical_and<bool>(), context->getInputBuffer<bool8>(kInputTensor1), in executeAnd()
85 context->getInputShape(kInputTensor1), context->getInputBuffer<bool8>(kInputTensor2), in executeAnd()
86 context->getInputShape(kInputTensor2), context->getOutputBuffer<bool8>(kOutputTensor), in executeAnd()
92 std::logical_or<bool>(), context->getInputBuffer<bool8>(kInputTensor1), in executeOr()
93 context->getInputShape(kInputTensor1), context->getInputBuffer<bool8>(kInputTensor2), in executeOr()
94 context->getInputShape(kInputTensor2), context->getOutputBuffer<bool8>(kOutputTensor), in executeOr()
DComparisons.cpp44 const Shape& aShape, const DataType* bData, const Shape& bShape, bool8* outputData, in compute()
78 context->getInputShape(kInputTensor2), context->getOutputBuffer<bool8>(kOutputTensor), in executeLessTyped()
87 context->getInputShape(kInputTensor2), context->getOutputBuffer<bool8>(kOutputTensor), in executeLessEqualTyped()
96 context->getInputShape(kInputTensor2), context->getOutputBuffer<bool8>(kOutputTensor), in executeEqualTyped()
105 context->getInputShape(kInputTensor2), context->getOutputBuffer<bool8>(kOutputTensor), in executeNotEqualTyped()
114 context->getInputShape(kInputTensor2), context->getOutputBuffer<bool8>(kOutputTensor), in executeGreaterEqualTyped()
123 context->getInputShape(kInputTensor2), context->getOutputBuffer<bool8>(kOutputTensor), in executeGreaterTyped()
169 return executeLessTyped<bool8, bool8>(context); in executeLess()
188 return executeLessEqualTyped<bool8, bool8>(context); in executeLessEqual()
207 return executeEqualTyped<bool8, bool8>(context); in executeEqual()
[all …]
DLogicalNot.cpp37 bool compute(const bool8* input, const Shape& shape, bool8* output) { in compute()
66 return compute(context->getInputBuffer<bool8>(kInputTensor), in execute()
68 context->getOutputBuffer<bool8>(kOutputTensor)); in execute()
DReduce.cpp66 context->getInputValue<bool8>(kInputKeepDims), tempIndex.data(), tempAxes.data(), init, in compute()
147 bool keepDims = context->getInputValue<bool8>(kInputKeepDims); in prepare()
237 return compute<bool8>(context, false, in executeAny()
238 [](bool8 a, bool8 b) { return static_cast<bool8>(a || b); }); in executeAny()
247 return compute<bool8>(context, true, in executeAll()
248 [](bool8 a, bool8 b) { return static_cast<bool8>(a && b); }); in executeAll()
/frameworks/ml/nn/runtime/test/generated/spec_V1_2/
Dreduce_all.example.cpp18 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model()
38 .data = TestBuffer::createFromVector<bool8>({true}), in get_test_model()
48 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model()
85 ….data = TestBuffer::createFromVector<bool8>({true, true, true, true, true, false, true, true, true… in get_test_model_2()
105 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_2()
115 .data = TestBuffer::createFromVector<bool8>({true, false}), in get_test_model_2()
152 ….data = TestBuffer::createFromVector<bool8>({true, true, true, true, true, true, true, true, false… in get_test_model_3()
172 .data = TestBuffer::createFromVector<bool8>({true}), in get_test_model_3()
182 .data = TestBuffer::createFromVector<bool8>({true, false, true}), in get_test_model_3()
Dreduce_any.example.cpp18 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model()
38 .data = TestBuffer::createFromVector<bool8>({true}), in get_test_model()
48 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model()
85 ….data = TestBuffer::createFromVector<bool8>({false, false, false, false, false, false, false, true… in get_test_model_2()
105 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_2()
115 .data = TestBuffer::createFromVector<bool8>({false, true}), in get_test_model_2()
152 ….data = TestBuffer::createFromVector<bool8>({false, false, false, false, false, false, false, true… in get_test_model_3()
172 .data = TestBuffer::createFromVector<bool8>({true}), in get_test_model_3()
182 .data = TestBuffer::createFromVector<bool8>({true, false, true}), in get_test_model_3()
Dlogical_or.example.cpp18 .data = TestBuffer::createFromVector<bool8>({true, false, false, true}), in get_test_model_simple()
28 .data = TestBuffer::createFromVector<bool8>({true, false, true, false}), in get_test_model_simple()
38 .data = TestBuffer::createFromVector<bool8>({true, false, true, true}), in get_test_model_simple()
75 .data = TestBuffer::createFromVector<bool8>({true, false, false, true}), in get_test_model_broadcast()
85 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_broadcast()
95 .data = TestBuffer::createFromVector<bool8>({true, false, false, true}), in get_test_model_broadcast()
Dlogical_and.example.cpp18 .data = TestBuffer::createFromVector<bool8>({true, false, false, true}), in get_test_model_simple()
28 .data = TestBuffer::createFromVector<bool8>({true, false, true, false}), in get_test_model_simple()
38 … .data = TestBuffer::createFromVector<bool8>({true, false, false, false}), in get_test_model_simple()
75 .data = TestBuffer::createFromVector<bool8>({true, false, false, true}), in get_test_model_broadcast()
85 .data = TestBuffer::createFromVector<bool8>({true}), in get_test_model_broadcast()
95 .data = TestBuffer::createFromVector<bool8>({true, false, false, true}), in get_test_model_broadcast()
Dreduce_any_b155508675.example.cpp18 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model()
38 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model()
48 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model()
Dreduce_all_b155508675.example.cpp18 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model()
38 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model()
48 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model()
Dequal.example.cpp38 .data = TestBuffer::createFromVector<bool8>({false, true, false}), in get_test_model_simple()
95 .data = TestBuffer::createFromVector<bool8>({false, true, false}), in get_test_model_simple_all_inputs_as_internal()
220 .data = TestBuffer::createFromVector<bool8>({false, true, false}), in get_test_model_simple_int32()
277 .data = TestBuffer::createFromVector<bool8>({false, true, false}), in get_test_model_simple_float16()
334 .data = TestBuffer::createFromVector<bool8>({false, true, false}), in get_test_model_simple_float16_all_inputs_as_internal()
459 .data = TestBuffer::createFromVector<bool8>({false, true, false}), in get_test_model_simple_relaxed()
516 .data = TestBuffer::createFromVector<bool8>({false, true, false}), in get_test_model_simple_relaxed_all_inputs_as_internal()
641 .data = TestBuffer::createFromVector<bool8>({false, true, true, false}), in get_test_model_broadcast()
698 .data = TestBuffer::createFromVector<bool8>({false, true, true, false}), in get_test_model_broadcast_all_inputs_as_internal()
823 .data = TestBuffer::createFromVector<bool8>({false, true, true, false}), in get_test_model_broadcast_int32()
[all …]
Dgreater.example.cpp38 .data = TestBuffer::createFromVector<bool8>({false, false, true}), in get_test_model_simple()
95 .data = TestBuffer::createFromVector<bool8>({false, false, true}), in get_test_model_simple_all_inputs_as_internal()
220 .data = TestBuffer::createFromVector<bool8>({false, false, true}), in get_test_model_simple_int32()
277 .data = TestBuffer::createFromVector<bool8>({false, false, true}), in get_test_model_simple_float16()
334 .data = TestBuffer::createFromVector<bool8>({false, false, true}), in get_test_model_simple_float16_all_inputs_as_internal()
459 .data = TestBuffer::createFromVector<bool8>({false, false, true}), in get_test_model_simple_relaxed()
516 .data = TestBuffer::createFromVector<bool8>({false, false, true}), in get_test_model_simple_relaxed_all_inputs_as_internal()
641 … .data = TestBuffer::createFromVector<bool8>({false, false, false, true}), in get_test_model_broadcast()
698 … .data = TestBuffer::createFromVector<bool8>({false, false, false, true}), in get_test_model_broadcast_all_inputs_as_internal()
823 … .data = TestBuffer::createFromVector<bool8>({false, false, false, true}), in get_test_model_broadcast_int32()
[all …]
Dless_equal.example.cpp38 .data = TestBuffer::createFromVector<bool8>({true, true, false}), in get_test_model_simple()
95 .data = TestBuffer::createFromVector<bool8>({true, true, false}), in get_test_model_simple_all_inputs_as_internal()
220 .data = TestBuffer::createFromVector<bool8>({true, true, false}), in get_test_model_simple_int32()
277 .data = TestBuffer::createFromVector<bool8>({true, true, false}), in get_test_model_simple_float16()
334 .data = TestBuffer::createFromVector<bool8>({true, true, false}), in get_test_model_simple_float16_all_inputs_as_internal()
459 .data = TestBuffer::createFromVector<bool8>({true, true, false}), in get_test_model_simple_relaxed()
516 .data = TestBuffer::createFromVector<bool8>({true, true, false}), in get_test_model_simple_relaxed_all_inputs_as_internal()
641 .data = TestBuffer::createFromVector<bool8>({true, true, true, false}), in get_test_model_broadcast()
698 .data = TestBuffer::createFromVector<bool8>({true, true, true, false}), in get_test_model_broadcast_all_inputs_as_internal()
823 .data = TestBuffer::createFromVector<bool8>({true, true, true, false}), in get_test_model_broadcast_int32()
[all …]
Dless.example.cpp38 .data = TestBuffer::createFromVector<bool8>({true, false, false}), in get_test_model_simple()
95 .data = TestBuffer::createFromVector<bool8>({true, false, false}), in get_test_model_simple_all_inputs_as_internal()
220 .data = TestBuffer::createFromVector<bool8>({true, false, false}), in get_test_model_simple_int32()
277 .data = TestBuffer::createFromVector<bool8>({true, false, false}), in get_test_model_simple_float16()
334 .data = TestBuffer::createFromVector<bool8>({true, false, false}), in get_test_model_simple_float16_all_inputs_as_internal()
459 .data = TestBuffer::createFromVector<bool8>({true, false, false}), in get_test_model_simple_relaxed()
516 .data = TestBuffer::createFromVector<bool8>({true, false, false}), in get_test_model_simple_relaxed_all_inputs_as_internal()
641 … .data = TestBuffer::createFromVector<bool8>({true, false, false, false}), in get_test_model_broadcast()
698 … .data = TestBuffer::createFromVector<bool8>({true, false, false, false}), in get_test_model_broadcast_all_inputs_as_internal()
823 … .data = TestBuffer::createFromVector<bool8>({true, false, false, false}), in get_test_model_broadcast_int32()
[all …]
Dgreater_equal.example.cpp38 .data = TestBuffer::createFromVector<bool8>({false, true, true}), in get_test_model_simple()
95 .data = TestBuffer::createFromVector<bool8>({false, true, true}), in get_test_model_simple_all_inputs_as_internal()
220 .data = TestBuffer::createFromVector<bool8>({false, true, true}), in get_test_model_simple_int32()
277 .data = TestBuffer::createFromVector<bool8>({false, true, true}), in get_test_model_simple_float16()
334 .data = TestBuffer::createFromVector<bool8>({false, true, true}), in get_test_model_simple_float16_all_inputs_as_internal()
459 .data = TestBuffer::createFromVector<bool8>({false, true, true}), in get_test_model_simple_relaxed()
516 .data = TestBuffer::createFromVector<bool8>({false, true, true}), in get_test_model_simple_relaxed_all_inputs_as_internal()
641 .data = TestBuffer::createFromVector<bool8>({false, true, true, true}), in get_test_model_broadcast()
698 .data = TestBuffer::createFromVector<bool8>({false, true, true, true}), in get_test_model_broadcast_all_inputs_as_internal()
823 .data = TestBuffer::createFromVector<bool8>({false, true, true, true}), in get_test_model_broadcast_int32()
[all …]
Dnot_equal.example.cpp38 .data = TestBuffer::createFromVector<bool8>({true, false, true}), in get_test_model_simple()
95 .data = TestBuffer::createFromVector<bool8>({true, false, true}), in get_test_model_simple_all_inputs_as_internal()
220 .data = TestBuffer::createFromVector<bool8>({true, false, true}), in get_test_model_simple_int32()
277 .data = TestBuffer::createFromVector<bool8>({true, false, true}), in get_test_model_simple_float16()
334 .data = TestBuffer::createFromVector<bool8>({true, false, true}), in get_test_model_simple_float16_all_inputs_as_internal()
459 .data = TestBuffer::createFromVector<bool8>({true, false, true}), in get_test_model_simple_relaxed()
516 .data = TestBuffer::createFromVector<bool8>({true, false, true}), in get_test_model_simple_relaxed_all_inputs_as_internal()
641 .data = TestBuffer::createFromVector<bool8>({true, false, false, true}), in get_test_model_broadcast()
698 .data = TestBuffer::createFromVector<bool8>({true, false, false, true}), in get_test_model_broadcast_all_inputs_as_internal()
823 .data = TestBuffer::createFromVector<bool8>({true, false, false, true}), in get_test_model_broadcast_int32()
[all …]
Dreduce_prod.example.cpp38 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model()
105 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_all_inputs_as_internal()
206 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_relaxed()
273 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_relaxed_all_inputs_as_internal()
374 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_float16()
441 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_float16_all_inputs_as_internal()
542 .data = TestBuffer::createFromVector<bool8>({true}), in get_test_model_2()
609 .data = TestBuffer::createFromVector<bool8>({true}), in get_test_model_all_inputs_as_internal_2()
710 .data = TestBuffer::createFromVector<bool8>({true}), in get_test_model_relaxed_2()
777 .data = TestBuffer::createFromVector<bool8>({true}), in get_test_model_relaxed_all_inputs_as_internal_2()
[all …]
Dreduce_sum.example.cpp38 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model()
105 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_all_inputs_as_internal()
206 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_relaxed()
273 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_relaxed_all_inputs_as_internal()
374 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_float16()
441 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_float16_all_inputs_as_internal()
542 .data = TestBuffer::createFromVector<bool8>({true}), in get_test_model_2()
609 .data = TestBuffer::createFromVector<bool8>({true}), in get_test_model_all_inputs_as_internal_2()
710 .data = TestBuffer::createFromVector<bool8>({true}), in get_test_model_relaxed_2()
777 .data = TestBuffer::createFromVector<bool8>({true}), in get_test_model_relaxed_all_inputs_as_internal_2()
[all …]
Dreduce_max.example.cpp38 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model()
105 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_all_inputs_as_internal()
206 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_relaxed()
273 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_relaxed_all_inputs_as_internal()
374 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_float16()
441 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_float16_all_inputs_as_internal()
542 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_quant8()
609 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_quant8_all_inputs_as_internal()
710 .data = TestBuffer::createFromVector<bool8>({true}), in get_test_model_2()
777 .data = TestBuffer::createFromVector<bool8>({true}), in get_test_model_all_inputs_as_internal_2()
[all …]
Dreduce_min.example.cpp38 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model()
105 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_all_inputs_as_internal()
206 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_relaxed()
273 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_relaxed_all_inputs_as_internal()
374 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_float16()
441 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_float16_all_inputs_as_internal()
542 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_quant8()
609 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_quant8_all_inputs_as_internal()
710 .data = TestBuffer::createFromVector<bool8>({true}), in get_test_model_2()
777 .data = TestBuffer::createFromVector<bool8>({true}), in get_test_model_all_inputs_as_internal_2()
[all …]
Dbatch_to_space_v1_2.example.cpp38 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_nhwc()
105 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_nhwc_all_inputs_as_internal()
206 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_nhwc_relaxed()
273 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_nhwc_relaxed_all_inputs_as_internal()
374 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_nhwc_float16()
441 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_nhwc_float16_all_inputs_as_internal()
542 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_nhwc_quant8()
609 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_nhwc_quant8_all_inputs_as_internal()
710 .data = TestBuffer::createFromVector<bool8>({true}), in get_test_model_nchw()
777 .data = TestBuffer::createFromVector<bool8>({true}), in get_test_model_nchw_all_inputs_as_internal()
[all …]
Dlogical_not.example.cpp18 .data = TestBuffer::createFromVector<bool8>({true, false, false, true}), in get_test_model()
28 .data = TestBuffer::createFromVector<bool8>({false, true, true, false}), in get_test_model()
Dspace_to_depth_v1_2.example.cpp38 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_nhwc()
105 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_nhwc_all_inputs_as_internal()
206 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_nhwc_relaxed()
273 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_nhwc_relaxed_all_inputs_as_internal()
374 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_nhwc_float16()
441 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_nhwc_float16_all_inputs_as_internal()
542 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_nhwc_quant8()
609 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_nhwc_quant8_all_inputs_as_internal()
710 .data = TestBuffer::createFromVector<bool8>({true}), in get_test_model_nchw()
777 .data = TestBuffer::createFromVector<bool8>({true}), in get_test_model_nchw_all_inputs_as_internal()
[all …]
Ddepth_to_space_v1_2.example.cpp38 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_nhwc()
105 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_nhwc_all_inputs_as_internal()
206 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_nhwc_relaxed()
273 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_nhwc_relaxed_all_inputs_as_internal()
374 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_nhwc_float16()
441 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_nhwc_float16_all_inputs_as_internal()
542 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_nhwc_quant8()
609 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_nhwc_quant8_all_inputs_as_internal()
710 .data = TestBuffer::createFromVector<bool8>({true}), in get_test_model_nchw()
777 .data = TestBuffer::createFromVector<bool8>({true}), in get_test_model_nchw_all_inputs_as_internal()
[all …]
/frameworks/ml/nn/runtime/test/generated/spec_V1_3/
Dresize_nearest_neighbor_v1_3.example.cpp48 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_half_pixel_centers_5x2_to_2x2()
58 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_half_pixel_centers_5x2_to_2x2()
68 .data = TestBuffer::createFromVector<bool8>({true}), in get_test_model_half_pixel_centers_5x2_to_2x2()
145 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_half_pixel_centers_5x2_to_2x2_all_inputs_as_internal()
155 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_half_pixel_centers_5x2_to_2x2_all_inputs_as_internal()
165 .data = TestBuffer::createFromVector<bool8>({true}), in get_test_model_half_pixel_centers_5x2_to_2x2_all_inputs_as_internal()
276 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_half_pixel_centers_5x2_to_2x2_float16()
286 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_half_pixel_centers_5x2_to_2x2_float16()
296 .data = TestBuffer::createFromVector<bool8>({true}), in get_test_model_half_pixel_centers_5x2_to_2x2_float16()
373 .data = TestBuffer::createFromVector<bool8>({false}), in get_test_model_half_pixel_centers_5x2_to_2x2_float16_all_inputs_as_internal()
[all …]

123456