111137:

constructed


1.You mean tensor can be auto graded?But why there is a option that require_grad = …
2 I need to optimize theta here hence I initialize it as tensor ? can I initialize it by Parameter?  since likelihood as loss need grad hence I also initialize it as tensor?Features is something extracted from input data,I need to change it too Variable?