Home
last modified time | relevance | path

Searched refs:expected_model (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/lite/
Dquantize_model_test.cc179 const ModelT& expected_model, in FindMatchingExpectedTensor() argument
186 expected_model.operator_codes[expected_op->opcode_index].get(); in FindMatchingExpectedTensor()
195 void ExpectSameModels(const ModelT& model, const ModelT& expected_model) { in ExpectSameModels() argument
196 ASSERT_EQ(model.subgraphs.size(), expected_model.subgraphs.size()); in ExpectSameModels()
200 const auto expected_graph = expected_model.subgraphs[subgraph_idx].get(); in ExpectSameModels()
208 *expected_graph, expected_model, model, *op, idx); in ExpectSameModels()
218 expected_model.buffers[expected_buffer_idx].get()->data; in ExpectSameModels()
268 ModelT expected_model; in TEST_P() local
269 readonly_model_->UnPackTo(&expected_model); in TEST_P()
271 ExpectSameModels(model_, expected_model); in TEST_P()
[all …]
Dquantize_weights_test.cc157 const Model* quantized_model, const Model* expected_model, in FindMatchingExpectedTensor() argument
164 CreateMutableModelFromFile(expected_model); in FindMatchingExpectedTensor()
/external/tensorflow/tensorflow/lite/tools/optimize/
Dquantize_model_test.cc92 void ExpectSameModels(const ModelT& model, const ModelT& expected_model) { in ExpectSameModels() argument
93 ASSERT_EQ(model.subgraphs.size(), expected_model.subgraphs.size()); in ExpectSameModels()
97 const auto expected_graph = expected_model.subgraphs[subgraph_idx].get(); in ExpectSameModels()
121 ASSERT_EQ(model.buffers.size(), expected_model.buffers.size()); in ExpectSameModels()
124 const auto expected_buffer = expected_model.buffers[buffer_idx].get()->data; in ExpectSameModels()
1298 ModelT expected_model; in TEST_F() local
1299 expected_read_only_model->UnPackTo(&expected_model); in TEST_F()
1301 ExpectSameModels(model_, expected_model); in TEST_F()
1323 ModelT expected_model; in TEST_F() local
1324 expected_read_only_model->UnPackTo(&expected_model); in TEST_F()
[all …]
/external/cpuinfo/src/arm/linux/
Dchipset.c587 const uint32_t expected_model = load_u32le(start + 4); in match_and_parse_smdk() local
588 switch (expected_model) { in match_and_parse_smdk()