提交 3f65869b 编写于 作者: X Xin Pan

try fix

test=develop
上级 3e79e654
......@@ -22,6 +22,7 @@
#include "paddle/fluid/framework/operator.h"
#include "paddle/fluid/framework/var_desc.h"
#include "paddle/fluid/platform/enforce.h"
#include "pybind11/pybind11.h"
#include "paddle/fluid/imperative/type_defs.h"
......
......@@ -14,7 +14,6 @@
#pragma once
#include <map>
#include <string>
#include <vector>
......@@ -40,10 +39,11 @@ class Tracer {
virtual ~Tracer() {}
void Trace(OpBase* op,
const std::map<std::string, std::vector<VarBase*>>& inputs,
const std::map<std::string, std::vector<VarBase*>>& outputs,
framework::BlockDesc* block, const bool stop_gradient = false);
void Trace(
OpBase* op,
const std::map<std::string, std::vector<VarBase*>>& inputs, // NOLINT
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,
bool stop_gradient = false);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册