Home
last modified time | relevance | path

Searched refs:model_type (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/python/keras/
Dtesting_utils.py309 _thread_local_data.model_type = None
327 previous_value = _thread_local_data.model_type
329 _thread_local_data.model_type = value
333 _thread_local_data.model_type = previous_value
414 if _thread_local_data.model_type is None:
419 return _thread_local_data.model_type
501 model_type = get_model_type()
502 if model_type == 'subclass':
504 if model_type == 'subclass_custom_build':
506 if model_type == 'sequential':
[all …]
Dcombinations.py57 return combinations.combine(model_type=KERAS_MODEL_TYPES)
89 model_type = kwargs.pop('model_type', None)
90 if model_type in KERAS_MODEL_TYPES:
91 return [testing_utils.model_type_scope(model_type)]
Dkeras_parameterized.py282 def decorated(self, model_type, *args, **kwargs): argument
284 if model_type == 'functional':
286 elif model_type == 'subclass':
288 elif model_type == 'sequential':
291 raise ValueError('Unknown model type: %s' % (model_type,))
/external/ComputeLibrary/python/scripts/utils/
Dmodel_identification.py71 model_type = "tflite"
74 model_type = None
76 return model_type
/external/ComputeLibrary/python/scripts/report-model-ops/
Dreport_model_ops.py90 def extract_model_meta(model, model_type): argument
108 if model_type == "tflite":
180 model_type = identify_model_type(model) variable
181 …ported_mode_ops, supported_model_dts, unsupported_model_dts = extract_model_meta(model, model_type)
/external/tensorflow/tensorflow/lite/g3doc/performance/
Dpost_training_integer_quant.ipynb547 "def test_model(tflite_file, test_image_index, model_type):\n",
553 " template = model_type + \" Model \\n True:{true}, Predicted:{predict}\"\n",
575 "test_model(tflite_model_file, test_image_index, model_type=\"Float\")"
595 "test_model(tflite_model_quant_file, test_image_index, model_type=\"Quantized\")"
625 "def evaluate_model(tflite_file, model_type):\n",
635 " model_type, accuracy, len(test_images)))"
655 "evaluate_model(tflite_model_file, model_type=\"Float\")"
675 "evaluate_model(tflite_model_quant_file, model_type=\"Quantized\")"
/external/wmediumd/wmediumd/
Dconfig.c431 const config_setting_t *ids, *links, *model_type; in load_config() local
535 model_type = config_lookup(cf, "model.type"); in load_config()
536 if (model_type) { in load_config()
537 model_type_str = config_setting_get_string(model_type); in load_config()
/external/tensorflow/tensorflow/lite/schema/
Dconversion_metadata.fbs37 model_type:ModelType;
/external/tensorflow/tensorflow/lite/python/
Dlite.py747 def _set_original_model_type(cls, model_type): argument
749 if model_type == conversion_metdata_fb.ModelType.NONE:
751 cls._original_model_type = model_type
755 model_type = TFLiteConverterBase._original_model_type
757 return model_type