xinet.try_gpu#

xinet.try_gpu(i=0)[源代码]#

Return gpu(i) if exists, otherwise return cpu().