# Transfer learning within Tensorflow's inception model

I want to freeze the layers, except the first three layers, in the Inception v3 model with TensorFlow in Python 3, and modify the weights of these three layers to be able to re-initialize and re-train only the three first layers of the network.

If this can't be done within the inception model, is there any other network (in TensorFlow) with which this could be done?

train_vars = tf.get_collection(tf.GraphKeys.TRAINABLE_VARIABLES,