---
description: Optimizers move weights along gradients.  They are managed by the trainer.
---

# Optimizer

[https://www.tensorflow.org/api\_docs/python/tf/compat/v1/train/Optimizer](https://www.tensorflow.org/api_docs/python/tf/compat/v1/train/Optimizer)

## Access

```python
gan.trainer.optimizer
```

{% hint style="info" %}
Optimizers are compatible with tf 1.0 implemented optimizers and are not GANComponents.
{% endhint %}
