Home
last modified time | relevance | path

Searched refs:kTfLiteString (Results 1 – 25 of 30) sorted by relevance

12

/external/tensorflow/tensorflow/lite/
Dstring_util_test.cc29 t0->type = kTfLiteString; in TEST()
33 t1->type = kTfLiteString; in TEST()
41 interpreter.SetTensorParametersReadOnly(2, kTfLiteString, "", {1}, quant, in TEST()
95 t0->type = kTfLiteString; in TEST()
118 t0->type = kTfLiteString; in TEST()
131 t0->type = kTfLiteString; in TEST()
Doptional_debug_tools.cc51 case kTfLiteString: in TensorTypeName()
/external/tensorflow/tensorflow/lite/kernels/
Dhashtable_lookup.cc74 if (value->type == kTfLiteString) { in Prepare()
87 if (output->type != kTfLiteString) { in Prepare()
123 if (output->type == kTfLiteString) { in Eval()
130 if (output->type == kTfLiteString) { in Eval()
139 if (output->type == kTfLiteString) { in Eval()
Dgather.cc64 case kTfLiteString: { in Prepare()
145 case kTfLiteString: in Eval()
165 case kTfLiteString: in Eval()
Dskip_gram.cc52 TF_LITE_ENSURE_EQ(context, GetInput(context, node, 0)->type, kTfLiteString); in Prepare()
53 TF_LITE_ENSURE_EQ(context, GetOutput(context, node, 0)->type, kTfLiteString); in Prepare()
Dreshape.cc118 if (output->type != kTfLiteString) { in Prepare()
148 if (output->type == kTfLiteString) { in Eval()
/external/tensorflow/tensorflow/lite/delegates/flex/
Dutil.cc75 case kTfLiteString: in GetTensorFlowDataType()
99 return kTfLiteString; in GetTensorFlowLiteType()
Dutil_test.cc117 EXPECT_EQ(TF_STRING, GetTensorFlowDataType(kTfLiteString)); in TEST()
128 EXPECT_EQ(kTfLiteString, GetTensorFlowLiteType(TF_STRING)); in TEST()
Ddelegate_test.cc96 AddTensors(3, {0, 1}, {2}, kTfLiteString, {2}); in TEST_F()
111 ASSERT_EQ(GetType(2), kTfLiteString); in TEST_F()
Ddelegate.cc89 if (output->type == kTfLiteString) { in CopyFromBufferHandle()
Dbuffer_map.cc158 if (tensor->type == kTfLiteString) { in SetFromTfLite()
Dtest_util.cc134 case kTfLiteString: in AddTfOp()
/external/tensorflow/tensorflow/lite/python/interpreter_wrapper/
Dpython_utils.cc45 case kTfLiteString: in TfLiteTypeToPyArrayType()
78 return kTfLiteString; in TfLiteTypeFromPyArray()
Dinterpreter_wrapper.cc279 if (tensor->type != kTfLiteString) { in SetTensor()
341 if (tensor->type != kTfLiteString) { in GetTensor()
/external/tensorflow/tensorflow/lite/testing/nnapi_tflite_zip_tests/
Dtflite_driver.cc189 case kTfLiteString: in Check()
305 case kTfLiteString: { in SetInput()
338 case kTfLiteString: in SetExpectation()
/external/tensorflow/tensorflow/lite/testing/
Dtflite_driver.cc189 case kTfLiteString: in Check()
304 case kTfLiteString: { in SetInput()
344 case kTfLiteString: in SetExpectation()
/external/tensorflow/tensorflow/lite/tools/benchmark/
Dbenchmark_tflite_model.cc313 } else if (t->type == kTfLiteString) { in PrepareInputData()
341 } else if (t->type == kTfLiteString) { in ResetInputsAndOutputs()
414 if (t->type != kTfLiteString) { in Init()
/external/tensorflow/tensorflow/lite/java/src/main/native/
Dtensor_jni.cc352 if (tensor->type == kTfLiteString) { in Java_org_tensorflow_lite_Tensor_readMultiDimensionalArray()
369 if (tensor->type != kTfLiteString && tensor->data.raw == nullptr) { in Java_org_tensorflow_lite_Tensor_writeMultiDimensionalArray()
379 if (tensor->type == kTfLiteString) { in Java_org_tensorflow_lite_Tensor_writeMultiDimensionalArray()
/external/tensorflow/tensorflow/lite/experimental/writer/
Denum_mapping.h71 case kTfLiteString: in TfLiteTypeToSchemaType()
/external/tensorflow/tensorflow/lite/models/smartreply/ops/
Dextract_feature.cc70 TF_LITE_ENSURE_EQ(context, input->type, kTfLiteString); in Prepare()
/external/tensorflow/tensorflow/lite/core/
Dsubgraph.cc834 if (type != kTfLiteString) { in SetTensorParametersReadOnly()
881 if (type != kTfLiteString) { in SetTensorParametersReadWrite()
891 if (type == kTfLiteString) { in SetTensorParametersReadWrite()
930 if (tensor->type != kTfLiteString) { in ResizeTensorImpl()
/external/tensorflow/tensorflow/lite/c/
Dc_api_internal_test.cc88 EXPECT_EQ(type_name(kTfLiteString), "STRING"); in TEST()
Dc_api_internal.c173 case kTfLiteString: in TfLiteTypeGetName()
Dc_api_internal.h202 kTfLiteString = 5, enumerator
/external/tensorflow/tensorflow/lite/experimental/objc/sources/
DTFLInterpreter.mm382 case kTfLiteString:
384 // kTfLiteString and kTfLiteComplex64 are not supported in TensorFlow Lite Objc API.

12