Retinanet - how to get sigmoid layer results of forward

how to configure the model such that torch.cuda.is_available() will be False?