tensorflow-lite

Integrate TensorFlow Lite models for on-device inference in React Native apps.

Updated Jan 18, 2026
One-click install
npx skills add https://github.com/333-333-333/iris --skill tensorflow-lite
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tensorflow-lite
Source: https://github.com/333-333-333/iris/tree/main/skills/tensorflow-lite
Command: npx skills add https://github.com/333-333-333/iris --skill tensorflow-lite

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

TensorFlow Lite on-device inference enables React Native apps to run ML models without relying on cloud connectivity, reducing latency and preserving user privacy.

Core Features & Use Cases

  • On-device model loading and inference for object detection (COCO-SSD) and image classification (MobileNet).
  • Memory-aware execution with efficient tensor management and optional parallel processing for higher throughput.
  • Use Case: Build offline vision features like real-time scene understanding in mobile apps.

Quick Start

Install TensorFlow.js and the React Native adapter, initialize the library, and load your first model to begin local inference.

Frequently Asked Questions about tensorflow-lite

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run on-device ML inference in a React Native app?

On-device ML inference in React Native apps is enabled by integrating TensorFlow Lite models, which allows object detection and image classification directly on mobile devices without cloud connectivity.

Can I use TensorFlow Lite for offline object detection in mobile apps?

Yes, TensorFlow Lite supports offline object detection in mobile apps using models like COCO-SSD. It enables real-time scene understanding directly on the device in low-connectivity or offline scenarios.

What is the best way to load image classification models locally on mobile devices?

The best way to load local image classification models like MobileNet is by installing TensorFlow.js and the React Native adapter, then initializing the library to load your model for local inference.

Does on-device machine learning in React Native require cloud connectivity?

On-device machine learning in React Native does not require cloud connectivity. Running TensorFlow Lite models locally reduces latency and preserves user privacy by processing data directly on the mobile device.

Why does mobile inference require memory-aware execution for vision features?

Mobile inference requires memory-aware execution to ensure efficient tensor management and optional parallel processing. This allows lightweight models to run with higher throughput on mobile devices.

Do I need TensorFlow.js to run TensorFlow Lite models in React Native?

Yes, you need TensorFlow.js and the React Native adapter to run TensorFlow Lite models. These dependencies provide the model loading utilities required to execute local inference efficiently.