Home
last modified time | relevance | path

Searched refs:resource_ptr (Results 1 – 2 of 2) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/
Doptimizer.h94 …Optimizer(const std::string &name, const pipeline::ResourceBasePtr &resource_ptr, bool traverse_no…
96 resource_(resource_ptr), in name_()
134 …ptr<Optimizer> MakeOptimizer(const std::string &name, const pipeline::ResourceBasePtr resource_ptr,
137 OptimizerPtr optimizer = std::make_shared<Optimizer>(name, resource_ptr, traverse_nodes_first);
168 auto resource_ptr = std::dynamic_pointer_cast<pipeline::Resource>(resource_); variable
169 if (resource_ptr != nullptr) {
178 … func_graph = pipeline::Renormalize(resource_ptr, func_graph, maybe_new_args_spec);
187 func_graph = pipeline::Renormalize(resource_ptr, func_graph, maybe_new_args_spec);
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/irpass/
Dincorporate_getitem.h136 auto resource_ptr = std::dynamic_pointer_cast<pipeline::Resource>(res); in HasMoreJ() local
137 if (resource_ptr != nullptr) { in HasMoreJ()
140 more_j = manager->func_graph_j_total(resource_ptr->func_graph()); in HasMoreJ()