# Module: tf_agents.networks.network

<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/networks/network.py) |

Base extension to Keras network to simplify copy operations.

## Classes

[`class DistributionNetwork`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/networks/network/DistributionNetwork): Base class for networks which generate Distributions as their output.

[`class Network`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/networks/Network): A class used to represent networks used by TF-Agents policies and agents.

## Functions

[`create_variables(...)`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/networks/network/create_variables): Create variables in `module` given `input_spec`; return `output_spec`.

[`get_state_spec(...)`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/networks/network/get_state_spec): Extracts the state spec from a layer.

<br />

<br />

<br />

| ## Other Members ||
|---|---|
| absolute_import | Instance of `__future__._Feature` |
| division | Instance of `__future__._Feature` |
| print_function | Instance of `__future__._Feature` |

<br />