<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Tensorflow on Commentary of Takao</title><link>https://takao.blog/en/tags/tensorflow/</link><description>Recent content in Tensorflow on Commentary of Takao</description><generator>Hugo -- gohugo.io</generator><language>en</language><copyright>Commentary of Takao</copyright><lastBuildDate>Sat, 13 Jun 2026 23:11:50 +0900</lastBuildDate><atom:link href="https://takao.blog/en/tags/tensorflow/index.xml" rel="self" type="application/rss+xml"/><item><title>Machine Learning in the Browser with TensorFlow.js</title><link>https://takao.blog/en/web/ml-in-browser/</link><pubDate>Tue, 30 Jul 2024 00:00:00 +0900</pubDate><guid>https://takao.blog/en/web/ml-in-browser/</guid><description>&lt;img src="https://takao.blog/img/thumnail.webp" alt="Featured image of post Machine Learning in the Browser with TensorFlow.js" /&gt;&lt;p&gt;Machine learning in the browser eliminates server costs, preserves user privacy, and enables offline-capable intelligent applications. TensorFlow.js brings ML to JavaScript developers with GPU-accelerated inference and training, powered by WebGL and WebGPU backends. This article covers loading pre-trained models, transfer learning, real-time pose detection, and production deployment considerations.&lt;/p&gt;
&lt;h2 id="why-ml-in-the-browser"&gt;Why ML in the Browser?
&lt;/h2&gt;&lt;p&gt;Running ML models client-side offers four key advantages: zero server costs (inference runs on the user&amp;rsquo;s device), complete privacy (data never leaves the machine), offline capability (no network required after model load), and low latency (no round-trip for predictions). The trade-offs include limited compute power, memory constraints, battery drain on mobile devices, and large model download sizes (5-200 MB).&lt;/p&gt;</description></item></channel></rss>