---
description: Manages the network used to create fake samples.
---

# Generator

## Access

```python
gan.generator
```

## Properties

```python
generator.sample
```

`sample` returns the current batch sample of G
