# tf.contrib.memory_stats.BytesInUse

<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/python/ops/memory_stats_ops.py#L29-L31) |

Generates an op that computes the current memory of a device.

    tf.contrib.memory_stats.BytesInUse()