expert_sample_synthetic_data: Sample Synthetic Data with explicit noise input

View source: R/sample-synthetic-data.R

expert_sample_synthetic_dataR 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


RGAN documentation built on March 30, 2022, 1:07 a.m.