/frameworks/ml/nn/runtime/test/generated/models/ |
D | depth_to_space_v1_2.model.cpp | 16 static bool8 layout_init[] = {false}; in CreateModel_nhwc() 17 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc() 44 static bool8 layout_init[] = {false}; in CreateModel_nhwc_relaxed() 45 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc_relaxed() 74 static bool8 layout_init[] = {false}; in CreateModel_nhwc_float16() 75 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc_float16() 102 static bool8 layout_init[] = {false}; in CreateModel_nhwc_quant8() 103 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc_quant8() 130 static bool8 layout_init[] = {true}; in CreateModel_nchw() 131 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nchw() [all …]
|
D | space_to_depth_v1_2.model.cpp | 16 static bool8 layout_init[] = {false}; in CreateModel_nhwc() 17 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc() 44 static bool8 layout_init[] = {false}; in CreateModel_nhwc_relaxed() 45 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc_relaxed() 74 static bool8 layout_init[] = {false}; in CreateModel_nhwc_float16() 75 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc_float16() 102 static bool8 layout_init[] = {false}; in CreateModel_nhwc_quant8() 103 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc_quant8() 130 static bool8 layout_init[] = {true}; in CreateModel_nchw() 131 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nchw() [all …]
|
D | reduce_sum.model.cpp | 16 static bool8 param1_init[] = {false}; in CreateModel() 17 model->setOperandValue(param1, param1_init, sizeof(bool8) * 1); in CreateModel() 44 static bool8 param1_init[] = {false}; in CreateModel_relaxed() 45 model->setOperandValue(param1, param1_init, sizeof(bool8) * 1); in CreateModel_relaxed() 74 static bool8 param1_init[] = {false}; in CreateModel_float16() 75 model->setOperandValue(param1, param1_init, sizeof(bool8) * 1); in CreateModel_float16() 102 static bool8 param1_init[] = {false}; in CreateModel_dynamic_output_shape() 103 model->setOperandValue(param1, param1_init, sizeof(bool8) * 1); in CreateModel_dynamic_output_shape() 130 static bool8 param1_init[] = {false}; in CreateModel_dynamic_output_shape_relaxed() 131 model->setOperandValue(param1, param1_init, sizeof(bool8) * 1); in CreateModel_dynamic_output_shape_relaxed() [all …]
|
D | reduce_prod.model.cpp | 16 static bool8 param1_init[] = {false}; in CreateModel() 17 model->setOperandValue(param1, param1_init, sizeof(bool8) * 1); in CreateModel() 44 static bool8 param1_init[] = {false}; in CreateModel_relaxed() 45 model->setOperandValue(param1, param1_init, sizeof(bool8) * 1); in CreateModel_relaxed() 74 static bool8 param1_init[] = {false}; in CreateModel_float16() 75 model->setOperandValue(param1, param1_init, sizeof(bool8) * 1); in CreateModel_float16() 102 static bool8 param1_init[] = {false}; in CreateModel_dynamic_output_shape() 103 model->setOperandValue(param1, param1_init, sizeof(bool8) * 1); in CreateModel_dynamic_output_shape() 130 static bool8 param1_init[] = {false}; in CreateModel_dynamic_output_shape_relaxed() 131 model->setOperandValue(param1, param1_init, sizeof(bool8) * 1); in CreateModel_dynamic_output_shape_relaxed() [all …]
|
D | reduce_min.model.cpp | 16 static bool8 param1_init[] = {false}; in CreateModel() 17 model->setOperandValue(param1, param1_init, sizeof(bool8) * 1); in CreateModel() 44 static bool8 param1_init[] = {false}; in CreateModel_relaxed() 45 model->setOperandValue(param1, param1_init, sizeof(bool8) * 1); in CreateModel_relaxed() 74 static bool8 param1_init[] = {false}; in CreateModel_float16() 75 model->setOperandValue(param1, param1_init, sizeof(bool8) * 1); in CreateModel_float16() 102 static bool8 param1_init[] = {false}; in CreateModel_quant8() 103 model->setOperandValue(param1, param1_init, sizeof(bool8) * 1); in CreateModel_quant8() 130 static bool8 param1_init[] = {false}; in CreateModel_dynamic_output_shape() 131 model->setOperandValue(param1, param1_init, sizeof(bool8) * 1); in CreateModel_dynamic_output_shape() [all …]
|
D | batch_to_space_v1_2.model.cpp | 16 static bool8 layout_init[] = {false}; in CreateModel_nhwc() 17 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc() 44 static bool8 layout_init[] = {false}; in CreateModel_nhwc_relaxed() 45 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc_relaxed() 74 static bool8 layout_init[] = {false}; in CreateModel_nhwc_float16() 75 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc_float16() 102 static bool8 layout_init[] = {false}; in CreateModel_nhwc_quant8() 103 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc_quant8() 130 static bool8 layout_init[] = {true}; in CreateModel_nchw() 131 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nchw() [all …]
|
D | heatmap_max_keypoint.model.cpp | 16 static bool8 layout_init[] = {false}; in CreateModel_nhwc() 17 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc() 44 static bool8 layout_init[] = {false}; in CreateModel_nhwc_relaxed() 45 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc_relaxed() 74 static bool8 layout_init[] = {false}; in CreateModel_nhwc_float16() 75 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc_float16() 102 static bool8 layout_init[] = {true}; in CreateModel_nchw() 103 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nchw() 130 static bool8 layout_init[] = {true}; in CreateModel_nchw_relaxed() 131 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nchw_relaxed() [all …]
|
D | reduce_max.model.cpp | 16 static bool8 param1_init[] = {false}; in CreateModel() 17 model->setOperandValue(param1, param1_init, sizeof(bool8) * 1); in CreateModel() 44 static bool8 param1_init[] = {false}; in CreateModel_relaxed() 45 model->setOperandValue(param1, param1_init, sizeof(bool8) * 1); in CreateModel_relaxed() 74 static bool8 param1_init[] = {false}; in CreateModel_float16() 75 model->setOperandValue(param1, param1_init, sizeof(bool8) * 1); in CreateModel_float16() 102 static bool8 param1_init[] = {false}; in CreateModel_quant8() 103 model->setOperandValue(param1, param1_init, sizeof(bool8) * 1); in CreateModel_quant8() 130 static bool8 param1_init[] = {false}; in CreateModel_dynamic_output_shape() 131 model->setOperandValue(param1, param1_init, sizeof(bool8) * 1); in CreateModel_dynamic_output_shape() [all …]
|
D | bidirectional_sequence_rnn.model.cpp | 34 static bool8 time_major_init[] = {false}; in CreateModel() 35 model->setOperandValue(time_major, time_major_init, sizeof(bool8) * 1); in CreateModel() 36 static bool8 merge_outputs_init[] = {false}; in CreateModel() 37 model->setOperandValue(merge_outputs, merge_outputs_init, sizeof(bool8) * 1); in CreateModel() 82 static bool8 time_major_init[] = {false}; in CreateModel_relaxed() 83 model->setOperandValue(time_major, time_major_init, sizeof(bool8) * 1); in CreateModel_relaxed() 84 static bool8 merge_outputs_init[] = {false}; in CreateModel_relaxed() 85 model->setOperandValue(merge_outputs, merge_outputs_init, sizeof(bool8) * 1); in CreateModel_relaxed() 132 static bool8 time_major_init[] = {false}; in CreateModel_float16() 133 model->setOperandValue(time_major, time_major_init, sizeof(bool8) * 1); in CreateModel_float16() [all …]
|
D | space_to_batch_v1_2.model.cpp | 20 static bool8 layout_init[] = {false}; in CreateModel_nhwc() 21 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc() 52 static bool8 layout_init[] = {false}; in CreateModel_nhwc_relaxed() 53 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc_relaxed() 86 static bool8 layout_init[] = {false}; in CreateModel_nhwc_float16() 87 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc_float16() 118 static bool8 layout_init[] = {false}; in CreateModel_nhwc_quant8() 119 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc_quant8() 150 static bool8 layout_init[] = {true}; in CreateModel_nchw() 151 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nchw() [all …]
|
D | instance_normalization.model.cpp | 21 static bool8 layout_init[] = {false}; in CreateModel_nhwc() 22 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc() 54 static bool8 layout_init[] = {false}; in CreateModel_nhwc_relaxed() 55 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc_relaxed() 89 static bool8 layout_init[] = {false}; in CreateModel_nhwc_float16() 90 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc_float16() 122 static bool8 layout_init[] = {true}; in CreateModel_nchw() 123 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nchw() 155 static bool8 layout_init[] = {true}; in CreateModel_nchw_relaxed() 156 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nchw_relaxed() [all …]
|
D | reduce_any.model.cpp | 15 static bool8 param1_init[] = {true}; in CreateModel() 16 model->setOperandValue(param1, param1_init, sizeof(bool8) * 1); in CreateModel() 43 static bool8 param1_init[] = {true}; in CreateModel_dynamic_output_shape() 44 model->setOperandValue(param1, param1_init, sizeof(bool8) * 1); in CreateModel_dynamic_output_shape() 71 static bool8 param3_init[] = {false}; in CreateModel_2() 72 model->setOperandValue(param3, param3_init, sizeof(bool8) * 1); in CreateModel_2() 99 static bool8 param3_init[] = {false}; in CreateModel_dynamic_output_shape_2() 100 model->setOperandValue(param3, param3_init, sizeof(bool8) * 1); in CreateModel_dynamic_output_shape_2() 127 static bool8 param5_init[] = {true}; in CreateModel_3() 128 model->setOperandValue(param5, param5_init, sizeof(bool8) * 1); in CreateModel_3() [all …]
|
D | reduce_all.model.cpp | 15 static bool8 param1_init[] = {true}; in CreateModel() 16 model->setOperandValue(param1, param1_init, sizeof(bool8) * 1); in CreateModel() 43 static bool8 param1_init[] = {true}; in CreateModel_dynamic_output_shape() 44 model->setOperandValue(param1, param1_init, sizeof(bool8) * 1); in CreateModel_dynamic_output_shape() 71 static bool8 param3_init[] = {false}; in CreateModel_2() 72 model->setOperandValue(param3, param3_init, sizeof(bool8) * 1); in CreateModel_2() 99 static bool8 param3_init[] = {false}; in CreateModel_dynamic_output_shape_2() 100 model->setOperandValue(param3, param3_init, sizeof(bool8) * 1); in CreateModel_dynamic_output_shape_2() 127 static bool8 param5_init[] = {true}; in CreateModel_3() 128 model->setOperandValue(param5, param5_init, sizeof(bool8) * 1); in CreateModel_3() [all …]
|
D | detection_postprocess.model.cpp | 42 static bool8 param4_init[] = {true}; in CreateModel_regular() 43 model->setOperandValue(param4, param4_init, sizeof(bool8) * 1); in CreateModel_regular() 54 static bool8 param10_init[] = {false}; in CreateModel_regular() 55 model->setOperandValue(param10, param10_init, sizeof(bool8) * 1); in CreateModel_regular() 108 static bool8 param4_init[] = {true}; in CreateModel_regular_relaxed() 109 model->setOperandValue(param4, param4_init, sizeof(bool8) * 1); in CreateModel_regular_relaxed() 120 static bool8 param10_init[] = {false}; in CreateModel_regular_relaxed() 121 model->setOperandValue(param10, param10_init, sizeof(bool8) * 1); in CreateModel_regular_relaxed() 176 static bool8 param4_init[] = {true}; in CreateModel_regular_float16() 177 model->setOperandValue(param4, param4_init, sizeof(bool8) * 1); in CreateModel_regular_float16() [all …]
|
D | roi_pooling.model.cpp | 32 static bool8 layout_init[] = {false}; in CreateModel_nhwc() 33 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc() 76 static bool8 layout_init[] = {false}; in CreateModel_nhwc_relaxed() 77 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc_relaxed() 122 static bool8 layout_init[] = {false}; in CreateModel_nhwc_quant8() 123 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc_quant8() 166 static bool8 layout_init[] = {false}; in CreateModel_nhwc_float16() 167 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc_float16() 210 static bool8 layout_init[] = {true}; in CreateModel_nchw() 211 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nchw() [all …]
|
D | resize_bilinear_v1_2.model.cpp | 19 static bool8 layout_init[] = {false}; in CreateModel_shape_nhwc() 20 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_shape_nhwc() 50 static bool8 layout_init[] = {false}; in CreateModel_shape_nhwc_relaxed() 51 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_shape_nhwc_relaxed() 83 static bool8 layout_init[] = {false}; in CreateModel_shape_nhwc_float16() 84 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_shape_nhwc_float16() 114 static bool8 layout_init[] = {false}; in CreateModel_shape_nhwc_quant8() 115 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_shape_nhwc_quant8() 145 static bool8 layout_init[] = {true}; in CreateModel_shape_nchw() 146 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_shape_nchw() [all …]
|
D | grouped_conv2d.model.cpp | 45 static bool8 layout_init[] = {false}; in CreateModel_nhwc_none() 46 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc_none() 98 static bool8 layout_init[] = {false}; in CreateModel_nhwc_none_weight_as_input() 99 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc_none_weight_as_input() 155 static bool8 layout_init[] = {false}; in CreateModel_nhwc_none_relaxed() 156 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc_none_relaxed() 210 static bool8 layout_init[] = {false}; in CreateModel_nhwc_none_relaxed_weight_as_input() 211 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc_none_relaxed_weight_as_input() 269 static bool8 layout_init[] = {false}; in CreateModel_nhwc_none_quant8() 270 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc_none_quant8() [all …]
|
D | depthwise_conv2d_dilation.model.cpp | 46 static bool8 layout_init[] = {false}; in CreateModel_nhwc() 47 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc() 108 static bool8 layout_init[] = {false}; in CreateModel_nhwc_relaxed() 109 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc_relaxed() 172 static bool8 layout_init[] = {false}; in CreateModel_nhwc_float16() 173 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc_float16() 235 static bool8 layout_init[] = {false}; in CreateModel_nhwc_quant8() 236 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc_quant8() 293 static bool8 layout_init[] = {false}; in CreateModel_nhwc_weight_as_input() 294 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc_weight_as_input() [all …]
|
D | depthwise_conv2d_v1_2.model.cpp | 44 static bool8 layout_init[] = {false}; in CreateModel_nhwc() 45 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc() 100 static bool8 layout_init[] = {false}; in CreateModel_nhwc_relaxed() 101 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc_relaxed() 158 static bool8 layout_init[] = {false}; in CreateModel_nhwc_float16() 159 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc_float16() 215 static bool8 layout_init[] = {false}; in CreateModel_nhwc_channelQuant8() 216 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc_channelQuant8() 272 static bool8 layout_init[] = {false}; in CreateModel_nhwc_channelQuant8_2() 273 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc_channelQuant8_2() [all …]
|
D | roi_align.model.cpp | 38 static bool8 layout_init[] = {false}; in CreateModel_nhwc() 39 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc() 88 static bool8 layout_init[] = {false}; in CreateModel_nhwc_relaxed() 89 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc_relaxed() 140 static bool8 layout_init[] = {false}; in CreateModel_nhwc_quant8() 141 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc_quant8() 190 static bool8 layout_init[] = {false}; in CreateModel_nhwc_float16() 191 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc_float16() 240 static bool8 layout_init[] = {true}; in CreateModel_nchw() 241 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nchw() [all …]
|
D | generate_proposals.model.cpp | 42 static bool8 layout_init[] = {false}; in CreateModel_nhwc() 43 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc() 96 static bool8 layout_init[] = {false}; in CreateModel_nhwc_relaxed() 97 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc_relaxed() 152 static bool8 layout_init[] = {false}; in CreateModel_nhwc_quant8() 153 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc_quant8() 206 static bool8 layout_init[] = {false}; in CreateModel_nhwc_float16() 207 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nhwc_float16() 260 static bool8 layout_init[] = {true}; in CreateModel_nchw() 261 model->setOperandValue(layout, layout_init, sizeof(bool8) * 1); in CreateModel_nchw() [all …]
|
/frameworks/ml/nn/common/operations/ |
D | Comparisons.cpp | 39 const Shape& aShape, const DataType* bData, const Shape& bShape, bool8* outputData, in compute() 72 context->getInputShape(kInputTensor2), context->getOutputBuffer<bool8>(kOutputTensor), in executeLessTyped() 81 context->getInputShape(kInputTensor2), context->getOutputBuffer<bool8>(kOutputTensor), in executeLessEqualTyped() 90 context->getInputShape(kInputTensor2), context->getOutputBuffer<bool8>(kOutputTensor), in executeEqualTyped() 99 context->getInputShape(kInputTensor2), context->getOutputBuffer<bool8>(kOutputTensor), in executeNotEqualTyped() 108 context->getInputShape(kInputTensor2), context->getOutputBuffer<bool8>(kOutputTensor), in executeGreaterEqualTyped() 117 context->getInputShape(kInputTensor2), context->getOutputBuffer<bool8>(kOutputTensor), in executeGreaterTyped() 156 return executeLessTyped<bool8, bool8>(context); in executeLess() 173 return executeLessEqualTyped<bool8, bool8>(context); in executeLessEqual() 190 return executeEqualTyped<bool8, bool8>(context); in executeEqual() [all …]
|
D | LogicalAndOr.cpp | 37 bool compute(const std::function<bool(bool, bool)>& func, const bool8* aData, const Shape& aShape, in compute() 38 const bool8* bData, const Shape& bShape, bool8* outputData, const Shape& outputShape) { in compute() 82 std::logical_and<bool>(), context->getInputBuffer<bool8>(kInputTensor1), in executeAnd() 83 context->getInputShape(kInputTensor1), context->getInputBuffer<bool8>(kInputTensor2), in executeAnd() 84 context->getInputShape(kInputTensor2), context->getOutputBuffer<bool8>(kOutputTensor), in executeAnd() 90 std::logical_or<bool>(), context->getInputBuffer<bool8>(kInputTensor1), in executeOr() 91 context->getInputShape(kInputTensor1), context->getInputBuffer<bool8>(kInputTensor2), in executeOr() 92 context->getInputShape(kInputTensor2), context->getOutputBuffer<bool8>(kOutputTensor), in executeOr()
|
D | LogicalNot.cpp | 34 bool compute(const bool8* input, const Shape& shape, bool8* output) { in compute() 63 return compute(context->getInputBuffer<bool8>(kInputTensor), in execute() 65 context->getOutputBuffer<bool8>(kOutputTensor)); in execute()
|
D | Reduce.cpp | 60 context->getInputValue<bool8>(kInputKeepDims), tempIndex.data(), tempAxes.data(), init, in compute() 123 bool keepDims = context->getInputValue<bool8>(kInputKeepDims); in prepare() 194 return compute<bool8>(context, false, in executeAny() 195 [](bool8 a, bool8 b) { return static_cast<bool8>(a || b); }); in executeAny() 204 return compute<bool8>(context, true, in executeAll() 205 [](bool8 a, bool8 b) { return static_cast<bool8>(a && b); }); in executeAll()
|