sgd_solver.cpp文件在哪一步进行了编译?

在读源代码的时候发现,solver_factory.hpp中的
// Get a solver using a SolverParameter.
static Solver<Dtype>* CreateSolver(const SolverParameter& param) {
const string& type = param.type();
CreatorRegistry& registry = Registry();
CHECK_EQ(registry.count(type), 1) << "Unknown solver type: " << type
<< " (known types: " << SolverTypeListString() << ")";
return registry[type](param);
}
中的register本身是已经插入了sgd等solver的,而sgdsolver的注册实在sgd_solver.cpp中执行的,想问一下sgd_solver.cpp是什么时候进行了编译,具体代码细节在哪里?
已邀请:

要回复问题请先登录注册