TensorFlow 2.0 RC is available Learn more

tf.contrib.memory_stats.BytesLimit

View source on GitHub

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

tf.contrib.memory_stats.BytesLimit()