Check that torch is available, error otherwise
Usage
require_torch(
what = "This density estimator",
alternative = paste("Alternatively use", "density_estimator =",
"'linear_gaussian' for a", "torch-free baseline.")
)Check that torch is available, error otherwise
require_torch(
what = "This density estimator",
alternative = paste("Alternatively use", "density_estimator =",
"'linear_gaussian' for a", "torch-free baseline.")
)