Table Of Contents
Table Of Contents

mxnet.test_utils.list_gpus

mxnet.test_utils.list_gpus()[source]

Return a list of GPUs

Returns

If there are n GPUs, then return a list [0,1,…,n-1]. Otherwise returns [].

Return type

list of int