简体   繁体   中英

Does TensorFlow.js use the GPU for computations?

The official documentation of TensorFlow.js mentions that it uses WebGL for accessing the GPU. Is WebGL only used for rendering or for computations also?

Not quite sure what you mean by rendering. To my knowledge tfjs doesnt do any rendering..

Yes, WebGL is used for computations

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM