This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include <list> | |
#include <string> | |
#include <unordered_map> | |
#include <vector> | |
#include "paddle/fluid/framework/variable.h" | |
#include "paddle/fluid/platform/macros.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "paddle/fluid/framework/scope.h" | |
#include <memory> // for unique_ptr | |
#include <mutex> // for call_once | |
#include "glog/logging.h" | |
#include "paddle/fluid/framework/threadpool.h" | |
#include "paddle/fluid/string/printf.h" | |
DEFINE_bool(benchmark, false, | |
"Doing memory benchmark. It will make deleting scope synchronized, " |