Home
last modified time | relevance | path

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

/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/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/contrib/framework/python/ops/
Dcheckpoint_ops_test.py49 flat_data = math_ops.linspace(0.0, dim * num - 1, dim * num)
51 array_ops.reshape(flat_data, (num, dim)), name='bias')
108 flat_data = math_ops.linspace(0.0, dim * num - 1, dim * num)
110 array_ops.reshape(flat_data, (num, dim)), name='accum')
/external/protobuf/src/google/protobuf/
Dwire_format_unittest.cc480 string flat_data; in TEST() local
483 flat_data.resize(size); in TEST()
488 uint8* target = reinterpret_cast<uint8*>(string_as_array(&flat_data)); in TEST()
509 EXPECT_TRUE(flat_data == stream_data); in TEST()
510 EXPECT_TRUE(flat_data == dynamic_data); in TEST()