# tff.program.ReleaseManager

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/federated/blob/v0.87.0 Version 2.0, January 2004 Licensed under the Apache License, Version 2.0 (the) |

An interface for releasing values from a federated program.

A [`tff.program.ReleaseManager`](https://www.tensorflow.org/federated/api_docs/python/tff/program/ReleaseManager) is used to release values from platform storage
to customer storage in a federated program.

## Methods

### `release`

[View source](https://github.com/tensorflow/federated/blob/v0.87.0
Version 2.0, January 2004
Licensed under the Apache License, Version 2.0 (the)

    release(
        value, key
    )

Releases `value` from a federated program.

An implementation of this interface should be specific about the types of
`value` and `key` for this method and should document how the `key` will be
used. This allows a federated program to understand how to create a `key`
for the `value` before it is released. For example, a
[`tff.program.ReleaseManager`](https://www.tensorflow.org/federated/api_docs/python/tff/program/ReleaseManager) that releases metrics keyed by a strictly
increasing integer might specify a `value` type of
`Mapping[str, ReleasableValue]` and a `key` type of `int`.

<br />

<br />

<br />

| Args ||
|---|---|
| `value` | A [`tff.program.ReleasableStructure`](https://www.tensorflow.org/federated/api_docs/python/tff/program#ReleasableStructure) to release. |
| `key` | A value used to reference the released `value`. |

<br />