| 23 | namespace oneflow { |
| 24 | |
| 25 | inline Maybe<void> FillVariableTensorMgr( |
| 26 | const std::vector<std::string>& variable_op_names, |
| 27 | const std::vector<std::shared_ptr<one::Tensor>>& variable_tensors) { |
| 28 | auto mgr = Singleton<VariableTensorMgr>::Get(); |
| 29 | return mgr->Fill(variable_op_names, variable_tensors); |
| 30 | } |
| 31 | |
| 32 | inline void ResetVariableTensorMgr() { |
| 33 | auto mgr = Singleton<VariableTensorMgr>::Get(); |
no test coverage detected