[51CTO.com Quick Translation] As a deep learning framework created by Google, TensorFlow has released a complete set of 1.0 candidate versions.
Version 1.0 not only increases the number of machine learning functions in the framework, but also simplifies the development process for Python and Java users and enhances the original debugging mechanism. The new compiler can optimize the TensorFlow computing mechanism, which means that more new machine learning applications will run on smartphone-level hardware. Focus on Python and Java As Python has become one of the main platforms for building and using machine learning applications, TensorFlow 1.0 has also improved its ability to interact with Python. The TensorFlow Python API has been upgraded, which means that the syntax and metaphors used by TensorFlow can better match Python, ultimately improving the consistency between the two. Unfortunately, these changes break support for existing Python applications. TensorFlow developers have released scripts that can upgrade existing TensorFlow API scripts to the new format, but it does not solve all problems yet; you may still need to manually adjust your scripts. TensorFlow is now available in a Python 3-compatible Docker image, and allows Python users to install it using Python's native package manager pip. This will help more general users (rather than those specializing in data science) quickly get started with TensorFlow. Java is another major language platform for machine learning, but TensorFlow has not been bound to it before. Version 1.0 of the framework introduced a Java API, but it is not yet complete and may change at any time. In addition, to use the Java API, you need to cooperate with Linux or Mac OS environment. (Obviously, Windows is still a second-class citizen in the TensorFlow camp.) Going mobile with XLA The biggest change in TensorFlow 1.0 may not come from new support capabilities or new algorithms, but from an experimental linear algebra compiler, Accelerated Linear Algebra (XLA for short). It can generate machine code that can run on the CPU or GPU, thereby significantly improving the efficiency of mathematical operations. At present, XLA only supports NVIDIA GPUs, but it will provide more GPU support for machine learning applications in the future. XLA also improves the portability of TensorFlow, so existing TensorFlow programs can run on new hardware platforms without modification. This is mainly due to IBM's inclusion of TensorFlow support on its PowerAI hardware solution, which combines GPUs with Power8 CPUs. Engineers on the TensorFlow project have reduced its overall memory usage and application size. While these optimizations have general benefits, they are particularly evident on mobile. Previous versions of TensorFlow have supported Android, iOS, and Raspberry Pi hardware platforms, and now it can perform operations such as image classification on such devices. When it comes to machine learning, we often think of all kinds of high-end hardware, including custom CPUs, GPU arrays, FPGAs, and cloud environments. But the new theory is that building executable machine learning models on ordinary smartphones will bring more new application categories. Even if this part of the goal cannot be fully achieved, this effort will still be able to give a strong boost to the development of TensorFlow. Original title: TensorFlow 1.0 unlocks machine learning on smartphones Original author: Serdar Yegulalp [Translated by 51CTO. Please indicate the original translator and source as 51CTO.com when reprinting on partner sites] |
<<: Android app size reduced from 18MB to 12.5MB
>>: iOS Symbol Table Recovery & Reverse Alipay
Anyone who has worked in e-commerce may have hear...
When talking about Ubisoft, the first thing that ...
As a highly active community website in China, Zh...
Resource satellites are China's earliest tran...
Smartphones have made significant progress in the...
Is a children's version of WeChat coming? Rec...
/* Live to change the world Here, every work may ...
Today, when I was browsing the Blog Park, I saw a...
Years later, physicists would speak longingly of ...
How will 360 search promotion results be displaye...
This may be the most comprehensive beauty and ski...
A few days ago, Xiaohongshu released a "Litt...
[Kunming Men's Health Sauna Club], [Kunming S...
Hello everyone, I rarely post content on the offi...
Sitting in front of the computer for 8 hours at w...