I believe that when you run on the CPU, you also run on the ANE. When you run on the GPU, you just get the GPU. MLCompute.set_mlc_device can be set to 'cpu,' 'gpu,' or 'any.' Any seems to be the fastest using the CPU, GPU, and ANE. However, I think this will only work for inference.
Topic:
Machine Learning & AI
SubTopic:
General
Tags: