# Module: tf_agents.utils.value_ops

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/agents/blob/v0.19.0/tf_agents/utils/value_ops.py) |

Methods for computing advantages and target values.

## Functions

[`discounted_return(...)`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/utils/value_ops/discounted_return): Computes discounted return.

[`generalized_advantage_estimation(...)`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/utils/value_ops/generalized_advantage_estimation): Computes generalized advantage estimation (GAE).