torch_is_installed: Verifies if torch is installed

View source: R/install.R

torch_is_installedR Documentation

Verifies if torch is installed

Description

Verifies if torch is installed

Usage

torch_is_installed(recheck = FALSE)

Arguments

recheck

If TRUE, forces rechecking if torch can be loaded in a spearate R process. still respects the TORCH_VERIFY_LOAD env var.

Value

TRUE if torch is installed and can be loaded, FALSE otherwise.


torch documentation built on Nov. 5, 2025, 7:02 p.m.