tf.contrib.memory_stats.MaxBytesInUse

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