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)
A torch::nn_module with a Generator
A noise vector
The device on which synthetic data should be sampled (cpu or cuda)
Should dropout be applied during inference
Synthetic data