Platform-native NIF functions.
This module provides fallback implementations for platform-specific NIF functions that are only available when compiled for iOS/Android. On those platforms, the Rust NIF implementations override these fallbacks.
On non-target platforms (e.g. dev machine), these fallback implementations
return :not_supported or sensible defaults.
Summary
Functions
@spec coreml_loaded_models() :: [String.t()]
@spec coreml_unload_model(String.t()) :: :ok | :not_supported
@spec onnx_is_available() :: boolean()
@spec onnx_session_count() :: non_neg_integer()