Android Neural Networks API 1.3 and PyTorch Mobile support

Hallo Friends cellphone prices and specifications, In the article that you are reading this time with the title Android Neural Networks API 1.3 and PyTorch Mobile support, we have prepared this article well for you to read and take the information in it. hopefully the contents of the post Article Android Developers Blog, Article IFTTT, what we write you can understand. all right, have a nice reading..

Posted by Oli Gaymond, Product Manager Android Machine Learning

Android graphic

On-Device Machine Learning enables cutting edge features to run locally without transmitting data to a server. Processing the data on-device enables lower latency, can improve privacy and allows features to work without connectivity. Achieving the best performance and power efficiency requires taking advantage of all available hardware.

Android Neural Networks API 1.3

The Android Neural Networks API (NNAPI) is designed for running computationally intensive operations for machine learning on Android devices. It provides a single set of APIs to benefit from available hardware accelerators including GPUs, DSPs and NPUs.

In Android 11, we released Neural Networks API 1.3 adding support for Quality of Service APIs, Memory Domains and expanded quantization support. This release builds on the comprehensive support for over 100 operations, floating point and quantized data types and hardware implementations from partners across the Android ecosystem.

Hardware acceleration is particularly beneficial for always-on, real-time models such as on-device computer vision or audio enhancement. These models tend to be compute-intensive, latency-sensitive and power-hungry. One such use case is in segmenting the user from the background in video calls. Facebook is now testing NNAPI within the Messenger application to enable the immersive 360 backgrounds feature. Utilising NNAPI, Facebook saw a 2x speedup and 2x reduction in power requirements. This is in addition to offloading work from the CPU, allowing it to perform other critical tasks.

Introducing PyTorch Neural Networks API support

NNAPI can be accessed directly via an Android C API or via higher level frameworks such as TensorFlow Lite. Today, PyTorch Mobile announced a new prototype feature supporting NNAPI that enables developers to use hardware accelerated inference with the PyTorch framework.

Today’s initial release includes support for well-known linear convolutional and multilayer perceptron models on Android 10 and above. Performance testing using the MobileNetV2 model shows up to a 10x speedup compared to single-threaded CPU. As part of the development towards a full stable release, future updates will include support for additional operators and model architectures including Mask R-CNN, a popular object detection and instance segmentation model.

We would like to thank the PyTorch Mobile team at Facebook for their partnership and commitment to bringing accelerated neural networks to millions of Android users.



from Android Developers Blog https://ift.tt/3lrAUZl
via IFTTT

Thus the article Android Neural Networks API 1.3 and PyTorch Mobile support

Enough of the articles Android Neural Networks API 1.3 and PyTorch Mobile support this time, hopefully it can be of benefit to all of you. well, see you in another article post.


You are now reading the article Android Neural Networks API 1.3 and PyTorch Mobile support By address link https://cellphone-prices-and-specifications.blogspot.com/2020/11/android-neural-networks-api-13-and.html


Previous
Next Post »
0 Komentar untuk "Android Neural Networks API 1.3 and PyTorch Mobile support"

Terima Kasih Sudah Berkomentar