Public API for CoreML/EMLX operations.
This module provides CoreML/EMLX functionality. On platforms where the
native NIF (Dala.Ml.Emlx) is available, calls are delegated there.
Otherwise, safe fallbacks are returned.
Summary
Functions
Check if EMLX is available.
Get the default device for EMLX.
Check if running on iOS device.
Check if running on iOS simulator.
Get platform configuration.
Setup CoreML.
Functions
@spec available?() :: boolean()
Check if EMLX is available.
@spec default_device() :: atom()
Get the default device for EMLX.
@spec ios_device?() :: boolean()
Check if running on iOS device.
@spec ios_simulator?() :: boolean()
Check if running on iOS simulator.
Get platform configuration.
Setup CoreML.