View source: R/sample-synthetic-data.R
expert_sample_synthetic_data | R Documentation |
Provides a function that makes it easy to sample synthetic data from a Generator
expert_sample_synthetic_data(g_net, z, device, eval_dropout = FALSE)
g_net |
A torch::nn_module with a Generator |
z |
A noise vector |
device |
The device on which synthetic data should be sampled (cpu or cuda) |
eval_dropout |
Should dropout be applied during inference |
Synthetic data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.