TF framework and weight changes