News for hackers. Stuff that matters.
Re:Previewing Android P by duckfruit on Wednesday March 07, 2018 @03:02PM (#16539325)
Very briefly: operations like Transpose, Strided Slice, Padding, and batching are standard operations used to build Convolutional Neural Networks, which is in turn is a standard building block for a vast array of machine learning applications (eg, image recognition)
Re:Previewing Android P by nathanaldensr on Wednesday March 07, 2018 @03:12PM (#16539405)
Ah, cool. So is the goal with having this tech on the phone that the phone won't need to communicate with servers to do this sort of processing? I'm struggling to think of a use case for this.
Re:Previewing Android P by spyhi on Wednesday March 07, 2018 @03:36PM (#16539623)
> the goal with having this tech on the phone that the phone won't need to communicate with servers to do this sort of processing?

Yeah, that's basically it. In short, the operations listed are pretty computationally intensive on a CPU, but pretty easy to parallelize for the data structures that are commonly used in machine learning (matrices and tensors). I presume that, by creating an API, Google can abstract out these common ML operations to work on the most efficient hardware on the device, whether a GPU or custom ML hardware such as Apple's Neural Engine. In theory, this should make on-device machine learning and inference more power-efficient, and could reduce reliance on server communication, improving privacy and probably making lightweight ML applications feel faster.

Re:Previewing Android P by richdougherty on Wednesday March 07, 2018 @05:44PM (#16540679)
> custom ML hardware

I think it's speculation still, but it seems likely that the Pixel Visual Core chip included in Pixel 2s could be a target for the API.

https://arstechnica.com/gadgets/2017/10/google-launches-the-...

The chip is already a target for some ML APIs.

https://blog.google/products/pixel/pixel-visual-core-image-p...

Re:Previewing Android P by nl on Thursday March 08, 2018 @03:57AM (#16543225)
The new YouTube background removal feature is done on-device using neural networks. https://research.googleblog.com/2018/03/mobile-real-time-vid...
Re:Previewing Android P by cdancette on Wednesday March 07, 2018 @03:28PM (#16539541)
Yes, I think that's exactly the case, for doing object / face recognition from your phone camera in real time for example.

Or maybe on device speech recognition in the future