Before revision:  The known network structure is used to train model parameters, whereas a loss function is established  in such a way that our model learns the network structure.
After revision:  The known network structure is used to train model parameters, whereas a loss function is established using energy-based learning in such a way that our model learns the network structure.