# Module: tf_agents.typing.types

<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/typing/types.py) |

Common types used in TF-Agents.

## Type Aliases

[`Array`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/typing/types/Array)

[`Bool`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/typing/types/Bool)

[`ComparatorFn`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/typing/types/ComparatorFn)

[`Float`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/typing/types/Float)

[`FloatOrReturningFloat`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/typing/types/FloatOrReturningFloat)

[`GymEnvWrapper`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/typing/types/GymEnvWrapper)

[`Int`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/typing/types/Int)

[`LookupLayer`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/typing/types/LookupLayer)

[`LossFn`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/typing/types/LossFn)

[`Nested`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/typing/types/Nested)

[`NestedArray`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/typing/types/NestedArray)

[`NestedArraySpec`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/typing/types/NestedArraySpec)

[`NestedBoundedTensorSpec`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/typing/types/NestedBoundedTensorSpec)

[`NestedDistribution`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/typing/types/NestedDistribution)

[`NestedLayer`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/typing/types/NestedLayer)

[`NestedNetwork`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/typing/types/NestedNetwork)

[`NestedPlaceHolder`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/typing/types/NestedPlaceHolder)

[`NestedSpec`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/typing/types/NestedSpec)

[`NestedSpecTensorOrArray`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/typing/types/NestedSpecTensorOrArray)

[`NestedTensor`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/typing/types/NestedTensor)

[`NestedTensorOrArray`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/typing/types/NestedTensorOrArray)

[`NestedTensorSpec`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/typing/types/NestedTensorSpec)

[`NestedVariable`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/typing/types/NestedVariable)

[`Observer`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/typing/types/Observer)

[`Optimizer`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/typing/types/Optimizer)

[`PyEnvWrapper`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/typing/types/PyEnvWrapper)

[`Seed`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/typing/types/Seed)

[`Shape`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/typing/types/Shape)

[`ShapeSequence`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/typing/types/ShapeSequence)

[`Spec`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/typing/types/Spec)

[`SpecTensorOrArray`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/typing/types/SpecTensorOrArray)

[`Splitter`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/typing/types/Splitter)

[`Tensor`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/typing/types/Tensor)

[`TensorOrArray`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/typing/types/TensorOrArray)

[`TensorSpec`](https://www.tensorflow.org/agents/api_docs/python/tf_agents/typing/types/TensorSpec)

<br />

<br />

<br />

| ## Other Members ||
|---|---|
| ArraySpec | Instance of `typing.ForwardRef` |
| BoundedTensorSpec | Instance of `typing.ForwardRef` |
| DistributionSpecV2 | Instance of `typing.ForwardRef` |
| GymEnv | Instance of `typing.ForwardRef` |
| Network | Instance of `typing.ForwardRef` |
| PolicyStep | Instance of `typing.ForwardRef` |
| PyEnv | Instance of `typing.ForwardRef` |
| ReverbClient | Instance of `typing.ForwardRef` |
| ReverbReplaySample | Instance of `typing.ForwardRef` |
| ReverbSampleInfo | Instance of `typing.ForwardRef` |
| ReverbServer | Instance of `typing.ForwardRef` |
| ReverbTFClient | Instance of `typing.ForwardRef` |
| ReverbTable | Instance of `typing.ForwardRef` |
| TimeStep | Instance of `typing.ForwardRef` |
| Tnest | Instance of `typing.TypeVar` |
| Trajectory | Instance of `typing.ForwardRef` |
| Trecursive | Instance of `typing.TypeVar` |
| absolute_import | Instance of `__future__._Feature` |
| division | Instance of `__future__._Feature` |
| print_function | Instance of `__future__._Feature` |

<br />