Maybe my question is a bit naive, but I really didn\'t find anything in the tensorflow documentation.
I have a trained tensorflow model where the variables of it was
Use clear_devices flag, ie
clear_devices
saver = tf.train.import_meta_graph("/tmp/graph.meta", clear_devices=True)