Searched refs:set_requires_grad (Results 1 – 2 of 2) sorted by relevance
28 … .def_property("requires_grad", &ParamInfo::requires_grad, &ParamInfo::set_requires_grad) in __anon2c0500310102()51 p->set_requires_grad(t[2].cast<bool>()); in __anon2c0500310102()
43 void set_requires_grad(bool requires_grad) { requires_grad_ = requires_grad; } in set_requires_grad() function