Home
last modified time | relevance | path

Searched refs:params_info (Results 1 – 8 of 8) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/fl/server/kernel/
Dkernel_factory.h56 void Register(const std::string &name, const ParamsInfo &params_info, C &&creator) { in Register() argument
57 name_to_creator_map_[name].push_back(std::make_pair(params_info, creator)); in Register()
66 const ParamsInfo &params_info = name_type_creator.first; in Create() local
68 if (Matched(params_info, kernel_node)) { in Create()
70 kernel->set_params_info(params_info); in Create()
82 virtual bool Matched(const ParamsInfo &params_info, const CNodePtr &kernel_node) { return true; } in Matched() argument
Doptimizer_kernel_factory.cc24 bool OptimizerKernelFactory::Matched(const ParamsInfo &params_info, const CNodePtr &kernel_node) { in Matched() argument
33 size_t input_num = params_info.inputs_num(); in Matched()
35 auto one_input_name_type = params_info.inputs_name_type(i); in Matched()
50 size_t output_num = params_info.outputs_num(); in Matched()
52 auto one_output_name_type = params_info.outputs_name_type(i); in Matched()
Daggregation_kernel_factory.cc24 bool AggregationKernelFactory::Matched(const ParamsInfo &params_info, const CNodePtr &kernel_node) { in Matched() argument
33 size_t input_num = params_info.inputs_num(); in Matched()
35 auto one_input_name_type = params_info.inputs_name_type(i); in Matched()
51 size_t output_num = params_info.outputs_num(); in Matched()
53 auto one_output_name_type = params_info.outputs_name_type(i); in Matched()
Doptimizer_kernel_factory.h45 bool Matched(const ParamsInfo &params_info, const CNodePtr &kernel_node) override;
50 …OptimizerKernelRegister(const std::string &name, const ParamsInfo &params_info, OptimizerKernelCre… in OptimizerKernelRegister() argument
51 OptimizerKernelFactory::GetInstance().Register(name, params_info, std::move(creator)); in OptimizerKernelRegister()
Daggregation_kernel_factory.h45 bool Matched(const ParamsInfo &params_info, const CNodePtr &kernel_node) override;
50 AggregationKernelRegister(const std::string &name, const ParamsInfo &params_info, in AggregationKernelRegister() argument
52 AggregationKernelFactory::GetInstance().Register(name, params_info, std::move(creator)); in AggregationKernelRegister()
Daggregation_kernel.h73 void set_params_info(const ParamsInfo &params_info) { params_info_ = params_info; } in set_params_info() argument
Doptimizer_kernel.h56 void set_params_info(const ParamsInfo &params_info) { params_info_ = params_info; } in set_params_info() argument
/third_party/mindspore/mindspore/ccsrc/fl/
DCMakeLists.txt24 list(REMOVE_ITEM _FL_SRC_FILES "server/kernel/params_info.cc")