Shortcuts

mmcv.utils.IS_CUDA_AVAILABLE

mmcv.utils.IS_CUDA_AVAILABLE = False

bool(x) -> bool

Returns True when the argument x is true, False otherwise. The builtins True and False are the only two instances of the class bool. The class bool is a subclass of the class int, and cannot be subclassed.