|
|
|||
|
||||
OverviewBuild fast, reliable browser ML apps with ONNX Runtime Web, WebGPU, and WebAssembly. Running real models in the browser is now practical, but only if you get the stack right. Many teams hit issues with cross origin isolation, missing WebGPU features, slow WASM fallbacks, and models that will not cache on device. This book gives you a production minded path. You will export models to ONNX, choose the right execution provider at runtime, profile with p50 and p95, cache large models with OPFS, and ship with headers and CSP that pass reviews. Map the browser ML stack clearly, including WebGPU, WebAssembly, WebNN, Workers, WebCodecs, and OPFS Export models from PyTorch and TensorFlow to ONNX with the right opset and axes choices Validate numerics and cover classical ML with scikit learn pipelines Stand up an image classification app, then upgrade to WebGPU and IO binding Ship end to end projects, object detection with a YOLO family model, camera segmentation overlays, streaming ASR with Whisper tiny, and text embeddings with a small RAG demo Use Transformers.js pipelines backed by ONNX Runtime Web, handle tokenizers and multilingual assets Apply quantization on WebGPU and WASM and verify accuracy with a rollback plan Profile correctly, enable ORT profiling, collect p50 and p95, and separate preprocessing from inference and postprocess Handle large models, external data shards, CDN range requests, resume logic, and parallel shard fetch Make deployments solid, cross origin isolation, CSP, asset hosting, and a diagnostics panel that confirms features and reachability Design fair side by side benchmarks with TensorFlow.js with fixed shapes, warmup, and honest reporting rules Plan for production reliability, failure signatures, device lost handling, headless CI, golden I O, and bundle size and cold start budgets The book includes a deployment checklist, a diagnostics panel pattern you can adapt, and a troubleshooting index for field teams that shortens time to resolution. This is a code heavy guide. Each chapter includes working examples in JavaScript, HTML, and JSON so you can run, measure, and ship real features. Grab your copy today and build browser ML that holds up in production. Full Product DetailsAuthor: Laitan MichaelPublisher: Independently Published Imprint: Independently Published Dimensions: Width: 17.80cm , Height: 1.70cm , Length: 25.40cm Weight: 0.549kg ISBN: 9798273010857Pages: 314 Publication Date: 04 November 2025 Audience: General/trade , General Format: Paperback Publisher's Status: Active Availability: Available To Order We have confirmation that this item is in stock with the supplier. It will be ordered in for you and dispatched immediately. Table of ContentsReviewsAuthor InformationTab Content 6Author Website:Countries AvailableAll regions |
||||