## Hi, I’m a newcomer.

I learned Pytorch for a short time and I like it so much.

I’m going to compare the difference between with and without regularization, thus I want to custom two loss functions.

```
###OPTIMIZER
criterion = nn.CrossEntropyLoss()
optimizer = optim.SGD(net.parameters(), lr = LR, momentum = MOMENTUM)
```

## Can someone give me a further example?

Thanks a lot!

BTW, I know that the latest version of TensorFlow can support dynamic graph.

But what is the difference of the dynamic graph between these two frameworks?