Home
last modified time | relevance | path

Searched refs:flat_data (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/lite/testing/
Dparse_testdata.cc121 tensor.flat_data.push_back(std::stof(csv[current_line][i])); in ParseExamples()
165 for (size_t idx = 0; idx < example.inputs[i].flat_data.size(); idx++) { in FeedExample()
166 data[idx] = example.inputs[i].flat_data[idx]; in FeedExample()
170 for (size_t idx = 0; idx < example.inputs[i].flat_data.size(); idx++) { in FeedExample()
171 data[idx] = example.inputs[i].flat_data[idx]; in FeedExample()
175 for (size_t idx = 0; idx < example.inputs[i].flat_data.size(); idx++) { in FeedExample()
176 data[idx] = example.inputs[i].flat_data[idx]; in FeedExample()
198 for (size_t idx = 0; idx < example.outputs[i].flat_data.size(); idx++) { in CheckOutputs()
200 float reference = example.outputs[0].flat_data[idx]; in CheckOutputs()
216 for (size_t idx = 0; idx < example.outputs[i].flat_data.size(); idx++) { in CheckOutputs()
[all …]
Dparse_testdata.h28 std::vector<float> flat_data; member
/external/tensorflow/tensorflow/lite/testing/nnapi_tflite_zip_tests/
Dparse_testdata.cc124 tensor.flat_data.push_back(std::stof(csv[current_line][i])); in ParseExamples()
168 for (size_t idx = 0; idx < example.inputs[i].flat_data.size(); idx++) { in FeedExample()
169 data[idx] = example.inputs[i].flat_data[idx]; in FeedExample()
173 for (size_t idx = 0; idx < example.inputs[i].flat_data.size(); idx++) { in FeedExample()
174 data[idx] = example.inputs[i].flat_data[idx]; in FeedExample()
178 for (size_t idx = 0; idx < example.inputs[i].flat_data.size(); idx++) { in FeedExample()
179 data[idx] = example.inputs[i].flat_data[idx]; in FeedExample()
201 for (size_t idx = 0; idx < example.outputs[i].flat_data.size(); idx++) { in CheckOutputs()
203 float reference = example.outputs[0].flat_data[idx]; in CheckOutputs()
219 for (size_t idx = 0; idx < example.outputs[i].flat_data.size(); idx++) { in CheckOutputs()
[all …]
Dparse_testdata.h31 std::vector<float> flat_data; member
/external/protobuf/src/google/protobuf/
Dwire_format_unittest.cc487 std::string flat_data; in TEST() local
490 flat_data.resize(size); in TEST()
495 uint8* target = reinterpret_cast<uint8*>(::google::protobuf::string_as_array(&flat_data)); in TEST()
517 EXPECT_TRUE(flat_data == stream_data); in TEST()
518 EXPECT_TRUE(flat_data == dynamic_data); in TEST()