> For the complete documentation index, see [llms.txt](https://hypergan.gitbook.io/hypergan/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hypergan.gitbook.io/hypergan/components/discriminator.md).

# Discriminator

## Access

```python
gan.discriminator
```

## Properties

```python
discriminator.sample
```

{% hint style="info" %}
Discriminator samples are stacked as `[fake, real]` along the batch dimension (zero)
{% endhint %}
