The TensorFlow Graph Editor library allows for modification of an existing tf.Graph instance in-place.
The author's github username is purpledog.