Skip to content

Instantly share code, notes, and snippets.

#pragma once
#include <list>
#include <string>
#include <unordered_map>
#include <vector>
#include "paddle/fluid/framework/variable.h"
#include "paddle/fluid/platform/macros.h"
@cs2be
cs2be / scope.cc
Last active February 22, 2018 22:15
#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, "