Home
last modified time | relevance | path

Searched refs:kTfLiteFloat32 (Results 1 – 25 of 39) sorted by relevance

12

/external/tensorflow/tensorflow/contrib/lite/
Dinterpreter_test.cc107 {kTfLiteFloat32, sizeof(float)}, in TEST()
141 {kTfLiteFloat32, sizeof(float), reinterpret_cast<const char*>(floats)}, in TEST()
180 {kTfLiteFloat32}, in TEST()
260 0, kTfLiteFloat32, "", {3}, TfLiteQuantizationParams()), in TEST()
278 0, kTfLiteFloat32, "", {3}, TfLiteQuantizationParams()), in TEST()
294 0, kTfLiteFloat32, "", {3}, TfLiteQuantizationParams()), in TEST()
339 ASSERT_EQ(interpreter.SetTensorParametersReadWrite(0, kTfLiteFloat32, "in1", in TEST()
342 ASSERT_EQ(interpreter.SetTensorParametersReadWrite(1, kTfLiteFloat32, "out0", in TEST()
375 tmp->type = kTfLiteFloat32; in TEST()
501 ASSERT_EQ(interpreter.SetTensorParametersReadWrite(0, kTfLiteFloat32, "", {3}, in TEST()
[all …]
Dmodel_test.cc142 ASSERT_EQ(i0->type, kTfLiteFloat32); in TEST()
146 ASSERT_EQ(i1->type, kTfLiteFloat32); in TEST()
150 ASSERT_EQ(o0->type, kTfLiteFloat32); in TEST()
154 ASSERT_EQ(o1->type, kTfLiteFloat32); in TEST()
Doptional_debug_tools.cc41 case kTfLiteFloat32: in TensorTypeName()
Dcontext.h129 kTfLiteFloat32 = 1, enumerator
/external/tensorflow/tensorflow/contrib/lite/kernels/
Dactivations.cc130 case kTfLiteFloat32: { in ReluEval()
148 case kTfLiteFloat32: { in Relu1Eval()
168 case kTfLiteFloat32: { in Relu6Eval()
186 case kTfLiteFloat32: { in TanhEval()
207 case kTfLiteFloat32: { in SigmoidEval()
307 case kTfLiteFloat32: { in SoftmaxEval()
Dresize_bilinear.cc63 TF_LITE_ENSURE_EQ(context, input->type, kTfLiteFloat32); in Prepare()
67 output->type = kTfLiteFloat32; in Prepare()
90 if (output->type == kTfLiteFloat32) { in Eval()
Dl2norm.cc49 TF_LITE_ENSURE_EQ(context, output->type, kTfLiteFloat32); in Prepare()
65 if (output->type == kTfLiteFloat32) { in Eval()
Dlocal_response_norm.cc46 TF_LITE_ENSURE_EQ(context, output->type, kTfLiteFloat32); in Prepare()
66 if (output->type == kTfLiteFloat32) { in Eval()
Dspace_to_depth.cc52 data_type == kTfLiteFloat32 || data_type == kTfLiteUInt8 || in Prepare()
87 case kTfLiteFloat32: in Eval()
Dpooling.cc110 TF_LITE_ENSURE_EQ(context, input->type, kTfLiteFloat32); in GenericPrepare()
241 case kTfLiteFloat32: in AverageEval()
263 case kTfLiteFloat32: in MaxEval()
284 case kTfLiteFloat32: in L2Eval()
Dgather.cc51 case kTfLiteFloat32: in Prepare()
94 case kTfLiteFloat32: in Eval()
Ddepthwise_conv.cc104 data_type == kTfLiteFloat32 || data_type == kTfLiteUInt8); in Prepare()
150 if (data_type != kTfLiteFloat32) { in Prepare()
241 case kTfLiteFloat32: in Eval()
Dsplit.cc80 input_type == kTfLiteFloat32 || input_type == kTfLiteUInt8); in Prepare()
132 case kTfLiteFloat32: { in Eval()
Dconcatenation.cc61 input_type == kTfLiteFloat32 || input_type == kTfLiteUInt8); in Prepare()
119 case kTfLiteFloat32: in Eval()
Dembedding_lookup_sparse.cc98 TF_LITE_ENSURE_EQ(context, weights->type, kTfLiteFloat32); in Prepare()
110 TF_LITE_ENSURE_EQ(context, output->type, kTfLiteFloat32); in Prepare()
Dconv.cc130 data_type == kTfLiteFloat32 || data_type == kTfLiteUInt8); in Prepare()
182 if (data_type != kTfLiteFloat32) { in Prepare()
217 data->need_hwcn_weights = (data_type == kTfLiteFloat32); in Prepare()
424 case kTfLiteFloat32: in Eval()
Dexp.cc65 case kTfLiteFloat32: in Eval()
Dfully_connected.cc113 if (data_type != kTfLiteFloat32) { in Prepare()
249 case kTfLiteFloat32: in Eval()
Dsub.cc89 if (output->type == kTfLiteFloat32) { in Eval()
Ddiv.cc89 if (output->type == kTfLiteFloat32) { in Eval()
/external/tensorflow/tensorflow/contrib/lite/java/src/main/native/
Dtensor_jni.cc44 case kTfLiteFloat32: { in writeOneDimensionalArray()
78 kTfLiteFloat32, type); in writeOneDimensionalArray()
96 case kTfLiteFloat32: { in readOneDimensionalArray()
153 case kTfLiteFloat32: in elementByteSize()
/external/tensorflow/tensorflow/contrib/lite/examples/label_image/
Dbitmap_helpers_impl.h56 0, kTfLiteFloat32, "input", in resize()
61 2, kTfLiteFloat32, "output", in resize()
Dlabel_image.cc152 case kTfLiteFloat32: in RunInference()
190 case kTfLiteFloat32: in RunInference()
/external/tensorflow/tensorflow/contrib/lite/testing/
Dtflite_driver.cc70 case kTfLiteFloat32: in Check()
172 case kTfLiteFloat32: { in SetInput()
212 case kTfLiteFloat32: in SetExpectation()
/external/tensorflow/tensorflow/contrib/lite/models/smartreply/ops/
Dpredict.cc86 TF_LITE_ENSURE_EQ(context, model_weight->type, kTfLiteFloat32); in Prepare()
102 TF_LITE_ENSURE_EQ(context, output_weight->type, kTfLiteFloat32); in Prepare()

12