# tf.contrib.memory_stats.BytesLimit

<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#L34-L36) |

Generates an op that measures the total memory (in bytes) of a device.

    tf.contrib.memory_stats.BytesLimit()