Browse Source

use a specific header file func_graph.h to replace anf_ir_utils.h

tags/v0.7.0-beta
zhousiyi 5 years ago
parent
commit
e8f91935bb
2 changed files with 5 additions and 5 deletions
  1. +2
    -2
      mindspore/ccsrc/transform/onnx/ir_exporter.cc
  2. +3
    -3
      mindspore/ccsrc/transform/onnx/onnx_exporter.cc

+ 2
- 2
mindspore/ccsrc/transform/onnx/ir_exporter.cc View File

@@ -23,8 +23,8 @@


#include "ir/tensor.h" #include "ir/tensor.h"
#include "ir/param_info.h" #include "ir/param_info.h"
#include "debug/anf_ir_utils.h"
#include "frontend/operator/ops.h"
#include "ir/func_graph.h"
#include "base/core_ops.h"
#include "proto/onnx.pb.h" #include "proto/onnx.pb.h"


namespace mindspore { namespace mindspore {


+ 3
- 3
mindspore/ccsrc/transform/onnx/onnx_exporter.cc View File

@@ -20,11 +20,11 @@
#include <utility> #include <utility>
#include <functional> #include <functional>


#include "debug/anf_ir_utils.h"
#include "proto/onnx.pb.h"
#include "frontend/operator/ops.h"
#include "ir/tensor.h" #include "ir/tensor.h"
#include "ir/param_info.h" #include "ir/param_info.h"
#include "ir/func_graph.h"
#include "base/core_ops.h"
#include "proto/onnx.pb.h"


namespace mindspore { namespace mindspore {
enum OpMergeMode { enum OpMergeMode {


Loading…
Cancel
Save