Modules
Functions
deploy
Keras Model instance <https://www.tensorflow.org/api_docs/python/tf/keras/Model>_TensorFlow SavedModel <https://www.tensorflow.org/guide/saved_model>_ (as path to directory or.zipfile)ONNX model file <https://learn.microsoft.com/en-us/windows/ai/windows-ml/get-onnx-model>_ (as path to.onnxfile)TensorFlow Lite file <https://www.tensorflow.org/lite/guide>_ (as bytes, or path to any file that is not.zipor.onnx)
- Must be a numpy array or
.npyfile. - Each element must have the same shape as your model’s input.
- Must be representative of the range (maximum and minimum) of values in your training data.
model, model_output_type, and model_input_type. For example, the openmv
deployment option is only available if model_input_type is set to ImageInput. If
you attempt to deploy to an unavailable target, you will receive the error Could not deploy: deploy_target: ....
list_deployment_targets
list_engines
deploy()’s engine parameter.
Returns:
List[str]: List of engines
list_model_types
deploy()’s deploy_model_type parameter.
Returns:
List[str]: List of model types
list_profile_devices
device field when calling edgeimpulse.model.profile().
profile
device, the results will also include estimates for that specific
device. A list of devices can be obtained from edgeimpulse.model.list_profile_devices().
You can call .summary() on the response to obtain a more readable version of the most relevant
information.