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 .zip
file)ONNX model file <https://learn.microsoft.com/en-us/windows/ai/windows-ml/get-onnx-model>
_
(as path to .onnx
file)TensorFlow Lite file <https://www.tensorflow.org/lite/guide>
_ (as bytes, or path to any file
that is not .zip
or .onnx
).npy
file.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: ...
.
Parameters
deploy()
’s engine
parameter.
Returns:
List[str]: List of engines
Return
List[str]
deploy()
’s deploy_model_type
parameter.
Returns:
List[str]: List of model types
Return
List[str]
device
field when calling edgeimpulse.model.profile()
.
Parameters
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.
Parameters