From 8adfda48401064608e46da0758b2eb888bd06ac0 Mon Sep 17 00:00:00 2001 From: leonwanghui Date: Mon, 28 Sep 2020 15:54:21 +0800 Subject: [PATCH] Fix a typo error in pipeline module --- mindspore/ccsrc/pipeline/jit/pipeline.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mindspore/ccsrc/pipeline/jit/pipeline.cc b/mindspore/ccsrc/pipeline/jit/pipeline.cc index 4fcfdd9245..55fc36203f 100644 --- a/mindspore/ccsrc/pipeline/jit/pipeline.cc +++ b/mindspore/ccsrc/pipeline/jit/pipeline.cc @@ -407,7 +407,7 @@ bool IsPhaseExportAir(const std::string &phase_s) { return phase_s.rfind(phase_to_export) != std::string::npos; } -std::vector GetPipline(const ResourcePtr &resource, const std::string &phase_s, bool use_vm) { +std::vector 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(obj); - auto p_actions = GetPipline(resource, phase_s, use_vm); + auto p_actions = GetPipeline(resource, phase_s, use_vm); std::shared_ptr pip = std::make_shared(resource, FilterActions(p_actions, phase_s)); // get the parameters items and add the value to args_spec