Home
last modified time | relevance | path

Searched refs:GetStringCount (Results 1 – 20 of 20) sorted by relevance

/external/tensorflow/tensorflow/lite/
Dstring_util_test.cc72 ASSERT_EQ(GetStringCount(t0), 2); in TEST()
80 ASSERT_EQ(GetStringCount(t1), 1); in TEST()
85 ASSERT_EQ(GetStringCount(t2), 1); in TEST()
107 ASSERT_EQ(GetStringCount(t0), 1); in TEST()
123 ASSERT_EQ(GetStringCount(t0), 0); in TEST()
Dstring_util.cc120 int GetStringCount(const char* raw_buffer) { in GetStringCount() function
125 int GetStringCount(const TfLiteTensor* tensor) { in GetStringCount() function
127 return GetStringCount(tensor->data.raw); in GetStringCount()
Dstring_util.h94 int GetStringCount(const char* raw_buffer);
95 int GetStringCount(const TfLiteTensor* tensor);
/external/tensorflow/tensorflow/contrib/lite/
Dstring_util.h88 int GetStringCount(const char* raw_buffer);
89 int GetStringCount(const TfLiteTensor* tensor);
/external/tensorflow/tensorflow/lite/models/smartreply/ops/
Dnormalize_test.cc48 int num = GetStringCount(output); in GetStringOutput()
Dextract_feature.cc80 int num_strings = tflite::GetStringCount(input); in Eval()
/external/tensorflow/tensorflow/lite/testing/nnapi_tflite_zip_tests/
Dtflite_driver.cc145 int expected_num_strings = GetStringCount(data_.raw); in TypedCheck()
146 int returned_num_strings = GetStringCount(tensor.data.raw); in TypedCheck()
/external/tensorflow/tensorflow/lite/testing/
Dtflite_driver.cc145 int expected_num_strings = GetStringCount(data_.raw); in TypedCheck()
146 int returned_num_strings = GetStringCount(tensor.data.raw); in TypedCheck()
Dtf_driver.cc60 int num_strings = values_as_string.empty() ? 0 : GetStringCount(s.data()); in FillTensorWithTfLiteHexString()
/external/tensorflow/tensorflow/lite/delegates/flex/
Dbuffer_map.cc97 ? GetStringCount(tensor->data.raw) in StringTfLiteTensorBuffer()
Dtest_util.cc42 auto num_strings = GetStringCount(tensor->data.raw); in GetStringValues()
/external/tensorflow/tensorflow/lite/kernels/
Dhashtable_lookup_test.cc81 int num = GetStringCount(output); in GetStringOutput()
Dskip_gram_test.cc52 int num = GetStringCount(tensor); in GetOutput()
Dtest_util.cc163 const int num_strings = GetStringCount(tensor_ptr); in ExtractVector()
Dgather.cc115 const PositionT num_strings = GetStringCount(input); in GatherStrings()
/external/tensorflow/tensorflow/lite/toco/tflite/
Dtypes.cc63 int32_t num_strings = ::tflite::GetStringCount(src_data); in CopyStringFromBuffer()
/external/libtextclassifier/utils/
Dtflite-model-executor.cc229 const int num_strings = tflite::GetStringCount(output_tensor); in Output()
/external/libtextclassifier/utils/tflite/
Dtext_encoder.cc217 const int num_strings = tflite::GetStringCount(&input_text); in Eval()
/external/tensorflow/tensorflow/lite/python/interpreter_wrapper/
Dinterpreter_wrapper.cc368 auto num_strings = GetStringCount(tensor->data.raw); in GetTensor()
/external/tensorflow/tensorflow/lite/delegates/nnapi/
Dnnapi_delegate_test.cc3566 int num = GetStringCount(output); in GetStringOutput()