Home
last modified time | relevance | path

Searched refs:kTfLiteInt16 (Results 1 – 25 of 89) sorted by relevance

1234

/external/tensorflow/tensorflow/lite/micro/kernels/
Dquantize.cc57 input->type == kTfLiteInt16 || in Prepare()
61 output->type == kTfLiteInt16 || in Prepare()
64 if ((input->type == kTfLiteInt16 && output->type == kTfLiteInt8) || in Prepare()
66 (input->type == kTfLiteInt16 && output->type == kTfLiteInt16) || in Prepare()
67 (input->type == kTfLiteInt16 && output->type == kTfLiteInt32)) { in Prepare()
Dsoftmax_common.cc36 input->type == kTfLiteInt16) { in CalculateSoftmaxParams()
40 } else if (input->type == kTfLiteInt16) { in CalculateSoftmaxParams()
46 if (output->type == kTfLiteInt16) { in CalculateSoftmaxParams()
60 if (input->type == kTfLiteInt16) { in CalculateSoftmaxParams()
108 if (input->type == kTfLiteInt16) { in SoftmaxPrepare()
120 if (output->type == kTfLiteInt16) { in SoftmaxPrepare()
123 input->type == kTfLiteInt16); in SoftmaxPrepare()
129 if (input->type == kTfLiteInt16) { in SoftmaxPrepare()
Dleaky_relu.cc77 output->type == kTfLiteInt16) { in LeakyReluPrepare()
90 if (input->type == kTfLiteInt16 && output->type == kTfLiteInt16) { in LeakyReluPrepare()
125 case kTfLiteInt16: { in LeakyReluEval()
Dquantize_common.cc51 case kTfLiteInt16: in EvalQuantizeReference()
64 } else if (input->type == kTfLiteInt16) { in EvalQuantizeReference()
74 case kTfLiteInt16: in EvalQuantizeReference()
Dsoftmax.cc40 if (output->type == kTfLiteInt16) { in SoftmaxQuantized()
80 case kTfLiteInt16: { in SoftmaxEval()
Dgather.cc69 case kTfLiteInt16: in Prepare()
157 case kTfLiteInt16: in Eval()
181 case kTfLiteInt16: in Eval()
Ddequantize.cc61 input->type == kTfLiteInt16); in Prepare()
102 case kTfLiteInt16: in Eval()
/external/tensorflow/tensorflow/lite/kernels/
Dquantize.cc119 output->type == kTfLiteInt16); in Prepare()
122 if (input->type == kTfLiteInt16) { in Prepare()
124 output->type == kTfLiteInt16 || in Prepare()
139 if (input->type == kTfLiteInt16) { in Prepare()
142 if (output->type == kTfLiteInt16) { in Prepare()
180 case kTfLiteInt16: in Eval()
190 case kTfLiteInt16: { in Eval()
201 case kTfLiteInt16: in Eval()
Dmul.cc101 output->type == kTfLiteInt16) { in Prepare()
171 input1->type == kTfLiteInt16)) { in EvalQuantized()
201 } else if (input1->type == kTfLiteInt16) { in EvalQuantized()
234 } else if (input1->type == kTfLiteInt16 && input2->type == kTfLiteInt16 && in EvalQuantized()
281 output->type == kTfLiteInt16) { in Eval()
Dadd.cc135 if (input1->type == kTfLiteInt16 && input2->type == kTfLiteInt16 && in Prepare()
136 output->type == kTfLiteInt16) { in Prepare()
198 } else if (output->type == kTfLiteInt16) { in Prepare()
323 } else if (output->type == kTfLiteInt16) { in EvalAddQuantized()
348 } else if (output->type == kTfLiteInt16) { in EvalAddQuantized()
390 output->type == kTfLiteInt16) { in Eval()
Dsub.cc98 output->type == kTfLiteInt16); in PrepareGeneralSubOp()
107 } else if (output->type == kTfLiteInt16) { in PrepareGeneralSubOp()
136 op_params->left_shift = output->type == kTfLiteInt16 ? 15 : 20; in PrepareGeneralSubOp()
261 if (input1->type == kTfLiteInt16 && input2->type == kTfLiteInt16 && in Prepare()
262 output->type == kTfLiteInt16) { in Prepare()
291 } else if (output->type == kTfLiteInt16) { in Prepare()
467 output->type == kTfLiteInt16) { in Eval()
Dbatch_matmul.cc314 if (lhs_data->type == kTfLiteInt8 || lhs_data->type == kTfLiteInt16) { in Prepare()
333 if (lhs_data->type == kTfLiteInt16) { in Prepare()
341 lhs_data->type == kTfLiteInt16); in Prepare()
344 rhs_data->type == kTfLiteInt16); in Prepare()
420 } else if (tensor_in->type == kTfLiteInt16) { in TransposeRowsColumns()
597 } else if (lhs->type == kTfLiteInt16 && rhs->type == kTfLiteInt16) { in EvalQuantized()
616 if (rhs->type == kTfLiteInt8 || rhs->type == kTfLiteInt16) { in GetTempRhs()
631 if (lhs->type == kTfLiteInt8 || lhs->type == kTfLiteInt16) { in GetTempLhs()
704 case kTfLiteInt16: in Eval()
Dactivations.cc284 input->type == kTfLiteInt16) { in ReluPrepare()
290 if (input->type == kTfLiteInt16) { in ReluPrepare()
361 output->type == kTfLiteInt16) { in LeakyReluPrepare()
374 if (input->type == kTfLiteInt16 && output->type == kTfLiteInt16) { in LeakyReluPrepare()
424 if (input->type == kTfLiteInt16) { in TanhPrepare()
530 } else if (input->type == kTfLiteInt16) { in SigmoidPrepare()
536 if (input->type == kTfLiteInt16) { in SigmoidPrepare()
591 if (output->type == kTfLiteInt16) { in SoftmaxPrepare()
594 input->type == kTfLiteInt16); in SoftmaxPrepare()
615 case kTfLiteInt16: in SoftmaxPrepare()
[all …]
Ddequantize.cc60 op_context.input->type == kTfLiteInt16 || in Prepare()
63 if (op_context.input->type == kTfLiteInt16) { in Prepare()
Dconcatenation.cc58 input_type == kTfLiteInt8 || input_type == kTfLiteInt16 || in Prepare()
101 if (input_type == kTfLiteInt16) { in Prepare()
180 case kTfLiteInt16: in Eval()
Dgather.cc69 case kTfLiteInt16: in Prepare()
157 case kTfLiteInt16: in Eval()
181 case kTfLiteInt16: in Eval()
Ddepthwise_conv.cc126 data_type == kTfLiteInt8 || data_type == kTfLiteInt16); in Prepare()
130 filter->type == data_type || data_type == kTfLiteInt16); in Prepare()
133 if (data_type == kTfLiteInt16) { in Prepare()
146 } else if (data_type == kTfLiteInt16) { in Prepare()
561 case kTfLiteInt16: in EvalImpl()
584 case kTfLiteInt16: in Eval()
585 return EvalImpl<kernel_type, kTfLiteInt16>(context, node); in Eval()
Dreverse.cc47 input->type != kTfLiteInt16 && input->type != kTfLiteInt64 && in Prepare()
105 case kTfLiteInt16: { in Eval()
Dcast.cc83 case kTfLiteInt16: in copyToTensor()
119 case kTfLiteInt16: in Eval()
Dsplit.cc88 input_type == kTfLiteInt8 || input_type == kTfLiteInt16 || in Prepare()
152 case kTfLiteInt16: { in Eval()
Dunpack.cc51 input->type != kTfLiteInt16 && input->type != kTfLiteBool) { in Prepare()
126 case kTfLiteInt16: { in Eval()
/external/tensorflow/tensorflow/lite/
Dtype_to_tflitetype_test.cc29 EXPECT_EQ(kTfLiteInt16, in TEST()
30 typeToTfLiteType<TfLiteTypeToType<kTfLiteInt16>::Type>()); in TEST()
/external/tensorflow/tensorflow/lite/delegates/flex/
Dutil.cc67 case kTfLiteInt16: in GetTensorFlowDataType()
105 return kTfLiteInt16; in GetTensorFlowLiteType()
/external/tensorflow/tensorflow/lite/micro/kernels/cmsis_nn/
Dsoftmax.cc40 if (output->type == kTfLiteInt16) { in SoftmaxQuantized()
88 case kTfLiteInt16: { in SoftmaxEval()
/external/tensorflow/tensorflow/lite/python/interpreter_wrapper/
Dnumpy.cc47 case kTfLiteInt16: in TfLiteTypeToPyArrayType()
88 return kTfLiteInt16; in TfLiteTypeFromPyType()

1234