Home
last modified time | relevance | path

Searched refs:has_bias (Results 1 – 24 of 24) sorted by relevance

/external/XNNPACK/test/
Dconvolution-nchw.cc119 .has_bias(false)
271 .has_bias(false) in TEST()
376 .has_bias(false)
503 .has_bias(false) in TEST()
604 .has_bias(false) in TEST()
732 .has_bias(false) in TEST()
837 .has_bias(false) in TEST()
975 .has_bias(false) in TEST()
1074 .has_bias(false) in TEST()
1202 .has_bias(false) in TEST()
[all …]
Dfully-connected-nc.cc75 .has_bias(false) in TEST()
144 .has_bias(false) in TEST()
213 .has_bias(false) in TEST()
282 .has_bias(false) in TEST()
Dfully-connected-operator-tester.h114 inline FullyConnectedOperatorTester& has_bias(bool has_bias) { in has_bias() function
115 this->has_bias_ = has_bias; in has_bias()
119 inline bool has_bias() const { in has_bias() function
156 if (has_bias()) { in TestQU8()
212 kernel.data(), has_bias() ? bias.data() : nullptr, in TestQU8()
266 if (has_bias()) { in TestF32()
317 kernel.data(), has_bias() ? bias.data() : nullptr, in TestF32()
Dconvolution-nhwc.cc70 .has_bias(false)
151 .has_bias(false) in TEST()
310 .has_bias(false)
430 .has_bias(false) in TEST()
586 .has_bias(false) in TEST()
730 .has_bias(false)
764 .has_bias(false)
802 .has_bias(false)
1195 .has_bias(false)
1276 .has_bias(false) in TEST()
[all …]
Ddeconvolution-operator-tester.h468 inline DeconvolutionOperatorTester& has_bias(bool has_bias) { in has_bias() function
469 this->has_bias_ = has_bias; in has_bias()
473 inline bool has_bias() const { in has_bias() function
510 if (has_bias()) { in TestQU8()
584 kernel.data(), has_bias() ? bias.data() : nullptr, in TestQU8()
646 if (has_bias()) { in TestF32()
717 kernel.data(), has_bias() ? bias.data() : nullptr, in TestF32()
788 if (has_bias()) { in TestSetupQU8()
861 kernel.data(), has_bias() ? bias.data() : nullptr, in TestSetupQU8()
905 if (has_bias()) { in TestSetupQU8()
[all …]
Dconvolution-operator-tester.h491 inline ConvolutionOperatorTester& has_bias(bool has_bias) { in has_bias() function
492 this->has_bias_ = has_bias; in has_bias()
496 inline bool has_bias() const { in has_bias() function
533 if (has_bias()) { in TestNHWCxQS8()
631 kernel.data(), has_bias() ? bias.data() : nullptr, in TestNHWCxQS8()
701 if (has_bias()) { in TestNHWCxQU8()
800 kernel.data(), has_bias() ? bias.data() : nullptr, in TestNHWCxQU8()
865 if (has_bias()) { in TestNHWCxF32()
959 kernel.data(), has_bias() ? bias.data() : nullptr, in TestNHWCxF32()
1025 if (has_bias()) { in TestNHWCxF16()
[all …]
Ddeconvolution-nhwc.cc135 .has_bias(false)
269 .has_bias(false) in TEST()
404 .has_bias(false) in TEST()
548 .has_bias(false) in TEST()
866 .has_bias(false)
1204 .has_bias(false) in TEST()
1543 .has_bias(false) in TEST()
1903 .has_bias(false) in TEST()
2255 .has_bias(false)
2581 .has_bias(false) in TEST()
[all …]
/external/tensorflow/tensorflow/lite/delegates/hexagon/builders/
Dtranspose_conv_2d_builder.cc124 const bool has_bias = inputs->size == 4; in PopulateSubGraph() local
128 if (!has_bias) { in PopulateSubGraph()
/external/tensorflow/tensorflow/lite/micro/kernels/
Dconv_common.cc84 bool has_bias = node->inputs->size == 3; in CalculateOpDataConv() local
86 TF_LITE_ENSURE(context, has_bias || node->inputs->size == 2); in CalculateOpDataConv()
Dtranspose_conv.cc72 bool has_bias = node->inputs->size == 4; in CalculateOpData() local
74 TF_LITE_ENSURE(context, has_bias || node->inputs->size == 3); in CalculateOpData()
Ddepthwise_conv.cc67 bool has_bias = node->inputs->size == 3; in CalculateOpData() local
69 TF_LITE_ENSURE(context, has_bias || node->inputs->size == 2); in CalculateOpData()
/external/tensorflow/tensorflow/lite/kernels/
Dconv.cc317 bool has_bias = node->inputs->size == 3; in Prepare() local
319 TF_LITE_ENSURE(context, has_bias || node->inputs->size == 2); in Prepare()
350 TF_LITE_ENSURE(context, has_bias); in Prepare()
352 if (has_bias) { in Prepare()
418 TF_LITE_ENSURE(context, has_bias); in Prepare()
999 bool has_bias = node->inputs->size == 3; in EvalImpl() local
1000 const TfLiteTensor* bias = has_bias ? GetInput(context, node, 2) : nullptr; in EvalImpl()
Dtranspose_conv.cc244 bool has_bias = NumInputs(node) == 4; in Prepare() local
247 TF_LITE_ENSURE(context, has_bias || NumInputs(node) == 3); in Prepare()
274 if (has_bias) { in Prepare()
/external/tensorflow/tensorflow/compiler/mlir/lite/ir/
Dtfl_ops.cc847 const bool has_bias = !(!bias() || bias().getType().isa<NoneType>()); in fold() local
853 (has_bias && !matchPattern(bias(), m_Constant(&bias_tensor)))) { in fold()
861 has_bias ? bias_tensor.getType().cast<ShapedType>() : ShapedType{}; in fold()
869 (has_bias && !bias_type.getElementType().isF32())) { in fold()
875 (has_bias && !bias_type.hasStaticShape())) { in fold()
882 (has_bias && bias_type.getShape().size() != 1)) { in fold()
896 has_bias ? bias_tensor.getValues<float>().begin() : input_values_it; in fold()
904 float sum = has_bias ? *bias_values_it : 0.0f; in fold()
/external/tensorflow/tensorflow/lite/micro/kernels/vexriscv/
Ddepthwise_conv.cc306 bool has_bias = node->inputs->size == 3; in CalculateOpData() local
308 TF_LITE_ENSURE(context, has_bias || node->inputs->size == 2); in CalculateOpData()
/external/tensorflow/tensorflow/lite/micro/kernels/xtensa/
Ddepthwise_conv.cc315 bool has_bias = node->inputs->size == 3; in CalculateOpData() local
317 TF_LITE_ENSURE(context, has_bias || node->inputs->size == 2); in CalculateOpData()
/external/tensorflow/tensorflow/lite/micro/kernels/cmsis_nn/
Ddepthwise_conv.cc71 bool has_bias = node->inputs->size == 3; in CalculateOpData() local
73 TF_LITE_ENSURE(context, has_bias || node->inputs->size == 2); in CalculateOpData()
/external/tensorflow/tensorflow/lite/micro/kernels/arc_mli/
Ddepthwise_conv.cc105 bool has_bias = node->inputs->size == 3; in CalculateOpData() local
107 TF_LITE_ENSURE(context, has_bias || node->inputs->size == 2); in CalculateOpData()
Dconv.cc115 bool has_bias = node->inputs->size == 3; in CalculateOpData() local
117 TF_LITE_ENSURE(context, has_bias || node->inputs->size == 2); in CalculateOpData()
/external/tensorflow/tensorflow/lite/toco/
Dexport_tensorflow.cc390 const bool has_bias = src_op.inputs.size() >= 3; in ConvertConvOperator() local
392 if (has_bias) { in ConvertConvOperator()
431 if (has_bias) { in ConvertConvOperator()
458 const bool has_bias = src_op.inputs.size() >= 3; in ConvertDepthwiseConvOperator() local
460 if (has_bias) { in ConvertDepthwiseConvOperator()
522 if (has_bias) { in ConvertDepthwiseConvOperator()
621 const bool has_bias = src_op.inputs.size() >= 3; in ConvertFullyConnectedOperator() local
623 if (has_bias) { in ConvertFullyConnectedOperator()
656 if (has_bias) { in ConvertFullyConnectedOperator()
Dimport_tensorflow.cc1951 bool has_bias = (input_size == 5); in ConvertSvdfOperator() local
1957 if (has_bias) { in ConvertSvdfOperator()
/external/mesa3d/src/freedreno/ir3/
Dir3_compiler_nir.c2180 bool has_bias = false, has_lod = false, has_proj = false, has_off = false; in emit_tex() local
2200 has_bias = true; in emit_tex()
2241 compile_assert(ctx, !has_bias); in emit_tex()
2379 if (has_off | has_lod | has_bias) { in emit_tex()
2391 if (has_lod | has_bias) in emit_tex()
/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dpropagate_fixed_sizes.cc1767 const bool has_bias = (op->inputs.size() == 5); in ProcessSvdfOperator() local
1768 if (has_bias) { in ProcessSvdfOperator()
/external/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp8655 bool has_bias = false, has_lod = false, level_zero = false, has_compare = false, in visit_tex() local
8683 has_bias = true; in visit_tex()
9083 if (has_bias) in visit_tex()
9142 if (has_bias) in visit_tex()
9148 if (has_bias) in visit_tex()
9155 if (has_bias) in visit_tex()
9165 if (has_bias) in visit_tex()
9177 if (has_bias) in visit_tex()
9183 if (has_bias) in visit_tex()
9191 if (has_bias) in visit_tex()
[all …]