Code
message_if_using_gpu(cpu_only())
Code
message_if_using_gpu(gpu_only())
Message
NOTE: When using GPU, the random number seed may not always be respected (results may not be fully reproducible).
For more information, see details of the `compute_options` argument in `?calculate`.
You can turn off this message with:
`options(greta_gpu_message = FALSE)`
Code
message_if_using_gpu(gpu_only())
Code
message_if_using_gpu(gpu_only())
Message
NOTE: When using GPU, the random number seed may not always be respected (results may not be fully reproducible).
For more information, see details of the `compute_options` argument in `?calculate`.
You can turn off this message with:
`options(greta_gpu_message = FALSE)`
Code
calc_x <- calculate(x, nsim = 1, compute_options = gpu_only())
Message
NOTE: When using GPU, the random number seed may not always be respected (results may not be fully reproducible).
For more information, see details of the `compute_options` argument in `?calculate`.
You can turn off this message with:
`options(greta_gpu_message = FALSE)`
Code
calc_x <- calculate(x, nsim = 1, compute_options = cpu_only())
Code
calc_x <- calculate(x, nsim = 1, compute_options = gpu_only())
Code
mcmc_m <- mcmc(model = m, n_samples = 1, warmup = 0, compute_options = gpu_only(),
verbose = FALSE)
Code
calc_x <- calculate(x, nsim = 1, compute_options = gpu_only())
Message
NOTE: When using GPU, the random number seed may not always be respected (results may not be fully reproducible).
For more information, see details of the `compute_options` argument in `?calculate`.
You can turn off this message with:
`options(greta_gpu_message = FALSE)`
Code
mcmc_m <- mcmc(model = m, n_samples = 1, warmup = 0, compute_options = gpu_only(),
verbose = FALSE)
Message
NOTE: When using GPU, the random number seed may not always be respected (results may not be fully reproducible).
For more information, see details of the `compute_options` argument in `?calculate`.
You can turn off this message with:
`options(greta_gpu_message = FALSE)`
Code
mcmc_gpu <- mcmc(model = m, n_samples = 1, warmup = 0, compute_options = gpu_only(),
verbose = FALSE)
Message
NOTE: When using GPU, the random number seed may not always be respected (results may not be fully reproducible).
For more information, see details of the `compute_options` argument in `?calculate`.
You can turn off this message with:
`options(greta_gpu_message = FALSE)`
Code
mcmc_cpu <- mcmc(model = m, n_samples = 1, warmup = 0, compute_options = cpu_only(),
verbose = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.