TensorFlow 2 现已支持使用 macOS 上可用的 GPU 进行模型加速(包括 Apple Silicon M1)
详情可见 https://blog.tensorflow.org/2020/11/accelerating-tensorflow-performance-on-mac.html?m=1
详情可见 https://blog.tensorflow.org/2020/11/accelerating-tensorflow-performance-on-mac.html?m=1
“`
00007fff2a15aae2 t +[MLCDeviceANE hasANE]
00007fff2a22b934 t +[MLCDeviceANE hasANE].cold.1
00007fff2a15b672 t -[MLCDeviceANE .cxx_destruct]
00007fff2a15ad57 t -[MLCDeviceANE allocateDeviceMemoryForTensor:]
00007fff2a22bcad t -[MLCDeviceANE allocateDeviceMemoryForTensor:].cold.1
00007fff2a15b05c t -[MLCDeviceANE broadcastTensor:]
00007fff2a22c124 t -[MLCDeviceANE broadcastTensor:].cold.1
00007fff2a15b0b1 t -[MLCDeviceANE broadcastTensor:batchSize:]
00007fff2a22c1a3 t -[MLCDeviceANE broadcastTensor:batchSize:].cold.1
00007fff2a15b309 t -[MLCDeviceANE commitAndWaitForCompletion:]
00007fff2a22c51c t -[MLCDeviceANE commitAndWaitForCompletion:].cold.1
00007fff2a15b35e t -[MLCDeviceANE commitAndWaitForCompletion:enableProfiling:graphExecutionTime:graphResultTensor:]
00007fff2a22c59b t -[MLCDeviceANE commitAndWaitForCompletion:enableProfiling:graphExecutionTime:graphResultTensor:].cold.1
…
“`