I was reading the tensorlayer documentation and in the NLP section there was a code for chatbots which I studied but could not find what _model.train()
function do in it. It does not start the training process which I thought would be the role of the function
Asked
Active
Viewed 62 times
0

Til
- 5,150
- 13
- 26
- 34

Rahul Barman
- 1
- 2
-
1Please provide the code which you have tried (do not provide a link, but rather provide actual code snippets) - that will make it much easier for people to provide a useful and timely response. – Eric Broda Jul 09 '19 at 19:49
1 Answers
0
train()
means the model is under training mode.
It is useful if your model has dropout, BN and etc.
ref https://tensorlayer.readthedocs.io/en/latest/user/get_start_model.html

zsdh
- 126
- 1
- 7