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

Merge pull request #15295 from panyx0718/fix

try fix
......@@ -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.
先完成此消息的编辑!
想要评论请 注册