未验证 提交 6eada9e0 编写于 作者: X Xin Pan 提交者: GitHub

Merge pull request #15295 from panyx0718/fix

try fix
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
#pragma once #pragma once
#include <map>
#include <string> #include <string>
#include <vector> #include <vector>
...@@ -40,10 +39,11 @@ class Tracer { ...@@ -40,10 +39,11 @@ class Tracer {
virtual ~Tracer() {} virtual ~Tracer() {}
void Trace(OpBase* op, void Trace(
const std::map<std::string, std::vector<VarBase*>>& inputs, OpBase* op,
const std::map<std::string, std::vector<VarBase*>>& outputs, const std::map<std::string, std::vector<VarBase*>>& inputs, // NOLINT
framework::BlockDesc* block, const bool stop_gradient = false); const std::map<std::string, std::vector<VarBase*>>& outputs, // NOLINT
framework::BlockDesc* block, const bool stop_gradient = false);
std::vector<VarBase*> PyTrace(OpBase* op, const std::vector<VarBase*>& inputs, std::vector<VarBase*> PyTrace(OpBase* op, const std::vector<VarBase*>& inputs,
bool stop_gradient = false); bool stop_gradient = false);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册