expert_sample_synthetic_data {RGAN} | R Documentation |
Sample Synthetic Data with explicit noise input
Description
Provides a function that makes it easy to sample synthetic data from a Generator
Usage
expert_sample_synthetic_data(g_net, z, device, eval_dropout = FALSE)
Arguments
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 |
Value
Synthetic data
[Package RGAN version 0.1.1 Index]