Browse Source

Fix a typo error in pipeline module

tags/v1.2.0-rc1
leonwanghui Gitee 5 years ago
parent
commit
8adfda4840
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      mindspore/ccsrc/pipeline/jit/pipeline.cc

+ 2
- 2
mindspore/ccsrc/pipeline/jit/pipeline.cc View File

@@ -407,7 +407,7 @@ bool IsPhaseExportAir(const std::string &phase_s) {
return phase_s.rfind(phase_to_export) != std::string::npos;
}

std::vector<ActionItem> GetPipline(const ResourcePtr &resource, const std::string &phase_s, bool use_vm) {
std::vector<ActionItem> GetPipeline(const ResourcePtr &resource, const std::string &phase_s, bool use_vm) {
bool is_air = IsPhaseExportAir(phase_s);

std::string backend = MsContext::GetInstance()->backend_policy();
@@ -455,7 +455,7 @@ bool ExecutorPy::CompileInner(const py::object &obj, const py::tuple &args, cons
MS_LOG(INFO) << "ExecutorPy compile phase:" << phase_s << "!";
ResourcePtr resource = std::make_shared<Resource>(obj);

auto p_actions = GetPipline(resource, phase_s, use_vm);
auto p_actions = GetPipeline(resource, phase_s, use_vm);
std::shared_ptr<Pipeline> pip = std::make_shared<Pipeline>(resource, FilterActions(p_actions, phase_s));

// get the parameters items and add the value to args_spec


Loading…
Cancel
Save