Searched refs:flat_data (Results 1 – 6 of 6) sorted by relevance
/external/tensorflow/tensorflow/lite/testing/nnapi_tflite_zip_tests/ |
D | parse_testdata.cc | 124 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 …]
|
D | parse_testdata.h | 31 std::vector<float> flat_data; member
|
/external/tensorflow/tensorflow/lite/testing/ |
D | parse_testdata.cc | 121 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 …]
|
D | parse_testdata.h | 28 std::vector<float> flat_data; member
|
/external/tensorflow/tensorflow/contrib/framework/python/ops/ |
D | checkpoint_ops_test.py | 49 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/ |
D | wire_format_unittest.cc | 480 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()
|