Home
last modified time | relevance | path

Searched refs:model_info (Results 1 – 13 of 13) sorted by relevance

/external/cpuinfo/src/x86/
Dinfo.c8 struct cpuinfo_x86_model_info model_info; in cpuinfo_x86_decode_model_info() local
9 model_info.stepping = eax & 0xF; in cpuinfo_x86_decode_model_info()
10 model_info.base_model = (eax >> 4) & 0xF; in cpuinfo_x86_decode_model_info()
11 model_info.base_family = (eax >> 8) & 0xF; in cpuinfo_x86_decode_model_info()
12 model_info.processor_type = (eax >> 12) & 0x3; in cpuinfo_x86_decode_model_info()
13 model_info.extended_model = (eax >> 16) & 0xF; in cpuinfo_x86_decode_model_info()
14 model_info.extended_family = (eax >> 20) & 0xFF; in cpuinfo_x86_decode_model_info()
16 model_info.family = model_info.base_family + model_info.extended_family; in cpuinfo_x86_decode_model_info()
17 model_info.model = model_info.base_model + (model_info.extended_model << 4); in cpuinfo_x86_decode_model_info()
18 return model_info; in cpuinfo_x86_decode_model_info()
Duarch.c9 const struct cpuinfo_x86_model_info* model_info) in cpuinfo_x86_decode_uarch() argument
13 switch (model_info->family) { in cpuinfo_x86_decode_uarch()
16 switch (model_info->model) { in cpuinfo_x86_decode_uarch()
28 switch (model_info->model) { in cpuinfo_x86_decode_uarch()
124 switch (model_info->model) { in cpuinfo_x86_decode_uarch()
139 switch (model_info->family) { in cpuinfo_x86_decode_uarch()
142 switch (model_info->model) { in cpuinfo_x86_decode_uarch()
168 switch (model_info->model) { in cpuinfo_x86_decode_uarch()
184 switch (model_info->extended_model) { in cpuinfo_x86_decode_uarch()
198 if (model_info->model >= 0x03) { in cpuinfo_x86_decode_uarch()
[all …]
Dinit.c32 const struct cpuinfo_x86_model_info model_info = cpuinfo_x86_decode_model_info(leaf1.eax); in cpuinfo_x86_init_processor() local
34 cpuinfo_x86_decode_uarch(vendor, &model_info); in cpuinfo_x86_init_processor()
45 max_base_index, max_extended_index, amd_topology_extensions, vendor, &model_info, in cpuinfo_x86_init_processor()
Dapi.h90 const struct cpuinfo_x86_model_info* model_info);
107 const struct cpuinfo_x86_model_info* model_info,
126 const struct cpuinfo_x86_model_info* model_info,
/external/tflite-support/tensorflow_lite_support/codegen/
Dandroid_java_generator.cc169 ModelInfo model_info; in CreateModelInfo() local
173 return model_info; in CreateModelInfo()
175 model_info.package_name = package_name; in CreateModelInfo()
176 model_info.model_class_name = model_class_name; in CreateModelInfo()
177 model_info.model_asset_path = model_asset_path; in CreateModelInfo()
178 model_info.model_versioned_name = GetModelVersionedName(metadata); in CreateModelInfo()
186 model_info.inputs.push_back( in CreateModelInfo()
190 model_info.inputs_list += ", "; in CreateModelInfo()
191 model_info.input_type_param_list += ", "; in CreateModelInfo()
193 model_info.inputs_list += model_info.inputs[i].name; in CreateModelInfo()
[all …]
/external/tensorflow/tensorflow/lite/tools/evaluation/stages/
Dtflite_inference_stage_test.cc101 const TfLiteModelInfo* model_info = stage.GetModelInfo(); in TEST() local
103 EXPECT_EQ(model_info->inputs.size(), 1); in TEST()
104 const TfLiteTensor* tensor = model_info->inputs[0]; in TEST()
113 EXPECT_EQ(model_info->outputs.size(), 1); in TEST()
114 tensor = model_info->outputs[0]; in TEST()
135 const TfLiteModelInfo* model_info = stage.GetModelInfo(); in TEST() local
137 EXPECT_EQ(model_info->inputs.size(), 1); in TEST()
138 const TfLiteTensor* tensor = model_info->inputs[0]; in TEST()
147 EXPECT_EQ(model_info->outputs.size(), 1); in TEST()
148 tensor = model_info->outputs[0]; in TEST()
Dimage_classification_stage.cc55 const TfLiteModelInfo* model_info = inference_stage_->GetModelInfo(); in Init() local
56 if (model_info->inputs.size() != 1 || model_info->outputs.size() != 1) { in Init()
60 TfLiteType input_type = model_info->inputs[0]->type; in Init()
61 auto* input_shape = model_info->inputs[0]->dims; in Init()
96 model_info->outputs[0]->dims); in Init()
Dobject_detection_stage.cc54 const TfLiteModelInfo* model_info = inference_stage_->GetModelInfo(); in Init() local
55 if (model_info->inputs.size() != 1 || model_info->outputs.size() != 4) { in Init()
59 TfLiteType input_type = model_info->inputs[0]->type; in Init()
60 auto* input_shape = model_info->inputs[0]->dims; in Init()
Dtflite_inference_stage.cc31 TfLiteModelInfo model_info; in GetTfliteModelInfo() local
33 model_info.inputs.push_back(interpreter.tensor(i)); in GetTfliteModelInfo()
36 model_info.outputs.push_back(interpreter.tensor(i)); in GetTfliteModelInfo()
38 return model_info; in GetTfliteModelInfo()
/external/cpuinfo/src/x86/cache/
Dinit.c26 const struct cpuinfo_x86_model_info* model_info, in cpuinfo_x86_detect_cache() argument
53 descriptor, vendor, model_info, in cpuinfo_x86_detect_cache()
Ddescriptor.c9 const struct cpuinfo_x86_model_info* model_info, in cpuinfo_x86_decode_cache_descriptor() argument
567 …if ((vendor == cpuinfo_vendor_intel) && (model_info->model == 0x06) && (model_info->family == 0x0F… in cpuinfo_x86_decode_cache_descriptor()
/external/autotest/client/cros/faft/utils/
Dfirmware_updater.py420 model_info = manifest.get(model_name)
421 if model_info:
424 self._bios_path = model_info['host']['image']
429 self._ec_path = model_info['ec']['image']
/external/XNNPACK/third_party/
Dcpuinfo.patch498 + switch (model_info->model) {