quark0 / darts

Differentiable architecture search for convolutional and recurrent networks
https://arxiv.org/abs/1806.09055
Apache License 2.0
3.92k stars 843 forks source link

a little doubt on train_search.py #128

Closed YuechengLiu closed 4 years ago

YuechengLiu commented 4 years ago

Dear author: I got a little doubt after reading the code. In folder 'cnn' >> 'train_search.py' , line 137, the code is written as 'model.train()', however, I can't find any method named 'train()' in Class 'Network', what does that mean?

YuechengLiu commented 4 years ago

I have understood that, it's a method defined in the superclass ‘Module’