# Module: tf.contrib.memory_stats

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/contrib/memory_stats/__init__.py) |

Ops for memory statistics.

## Functions

[`BytesInUse(...)`](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/contrib/memory_stats/BytesInUse): Generates an op that computes the current memory of a device.

[`BytesLimit(...)`](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/contrib/memory_stats/BytesLimit): Generates an op that measures the total memory (in bytes) of a device.

[`MaxBytesInUse(...)`](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/contrib/memory_stats/MaxBytesInUse): Generates an op that computes the peak memory of a device.