01Chapter 1: Why edge inference is different: latency, memory, power, and privacyThis chapter assumes you understand tensors, image preprocessing, and the basic flow of a convolutional neural network. You should also know that inference is the process of using a trained model to produce a prediction. The examples use image classification, but the same constraints apply to detect3 min read
02Chapter 2: Choosing an efficient architecture for your deviceAssume you know basic Python, tensors, convolutional neural networks, and image classification or detection. This chapter focuses on choosing a model before export and quantization. A model that is efficient on a laptop may still be slow or power-hungry on a phone.3 min read
03Chapter 3: Quantization: float32 to int8This chapter assumes that you know tensors, image preprocessing, and basic TensorFlow or PyTorch usage. You should also understand that a model’s weights and activations are usually stored as float32 values during training and inference.2 min read
04Chapter 4: Pruning and knowledge distillationAssume you know basic Python, tensors, convolutional neural networks, and a training loop in PyTorch or TensorFlow. This chapter focuses on reducing a trained vision model before export. Quantization and runtime selection are separate steps.2 min read
05Chapter 5: Exporting and converting a modelThis chapter assumes you know basic Python, tensors, and either PyTorch or TensorFlow. You should also understand image preprocessing and the difference between training and inference.2 min read
06Chapter 6: Inference runtimes: TensorFlow Lite, ONNX Runtime, Core ML, and ExecuTorchAssume you know Python, tensors, image preprocessing, and the basics of PyTorch or TensorFlow. This chapter focuses on the runtime: the software that loads an exported model, prepares its inputs, executes operators, and returns predictions on an edge device.2 min read
08Chapter 8: Preprocessing and postprocessing that match trainingThis chapter assumes you know basic Python, tensors, image preprocessing, and either PyTorch or TensorFlow. The goal is to keep the data transformation used on the device identical to the transformation used during training.2 min read
09Chapter 9: Benchmarking latency on the real deviceThis chapter assumes you understand tensors, model inference, and basic Python. You should also know how your model is exported and which runtime or hardware delegate it uses. The goal is to measure the time users actually experience, not just the time reported on a development computer.2 min read
10Chapter 10: Checking accuracy after quantization and conversionAssume you know Python, tensors, image preprocessing, and basic image classification. You should also know how to run a model with PyTorch or TensorFlow. This chapter uses TensorFlow Lite, but the validation method also applies to ONNX and other deployment formats.2 min read
11Chapter 11: Running the model inside an Android or iOS appAssume you know Python, tensors, image preprocessing, and basic Android or iOS development. This chapter focuses on the mobile integration boundary: loading a converted model, preparing camera frames, running inference, and presenting results.2 min read
12Chapter 12: Battery drain and thermal throttlingAssume you know how to run a converted vision model with an inference runtime and how to measure single-inference latency. This chapter focuses on sustained workloads, where power use heats the device and changes performance.3 min read
13Chapter 13: Unsupported operators, CPU fallback, and other common failuresThis chapter assumes you understand tensors, image preprocessing, and basic model export with PyTorch or TensorFlow. You should also know that an inference runtime executes a model graph, while a hardware delegate or execution provider maps parts of that graph to a CPU, GPU, or NPU.3 min read
14Chapter 14: Packaging, delivering, and updating modelsAssume you know tensors, image preprocessing, and at least one mobile inference runtime such as TensorFlow Lite or ONNX Runtime. This chapter focuses on the release process after a model has been converted and tested.2 min read