tf.contrib.memory_stats.BytesLimit

View source on GitHub

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