mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
Remove dead includes in caffe2/binaries
Reviewed By: ezyang Differential Revision: D18136357 fbshipit-source-id: df357c9d4b344b5621b838c2a2657658e10f7000
This commit is contained in:
parent
bbea34f283
commit
d0204ea92a
|
|
@ -47,11 +47,6 @@ defined(TARGET_IPHONE_SIMULATOR)
|
|||
#include <malloc.h>
|
||||
#endif
|
||||
|
||||
using std::map;
|
||||
using std::shared_ptr;
|
||||
using std::string;
|
||||
using std::unique_ptr;
|
||||
using std::vector;
|
||||
|
||||
void observerConfig() {
|
||||
caffe2::ClearGlobalNetObservers();
|
||||
|
|
|
|||
|
|
@ -5,10 +5,6 @@
|
|||
#include "binaries/benchmark_args.h"
|
||||
#include "binaries/benchmark_helper.h"
|
||||
|
||||
using std::make_shared;
|
||||
using std::map;
|
||||
using std::string;
|
||||
using std::vector;
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
caffe2::GlobalInit(&argc, &argv);
|
||||
|
|
|
|||
|
|
@ -47,8 +47,6 @@ C10_DEFINE_bool(warp, false, "If warp is set, warp the images to square.");
|
|||
|
||||
namespace caffe2 {
|
||||
|
||||
using std::string;
|
||||
using std::unique_ptr;
|
||||
|
||||
void ConvertToRawDataset(
|
||||
const string& input_db_name, const string& output_db_name) {
|
||||
|
|
|
|||
|
|
@ -16,7 +16,6 @@
|
|||
|
||||
#include <iostream>
|
||||
|
||||
#include "caffe2/core/init.h"
|
||||
#include "caffe2/core/operator.h"
|
||||
#include "caffe2/core/context.h"
|
||||
#include "caffe2/core/context_gpu.h"
|
||||
|
|
|
|||
|
|
@ -27,9 +27,6 @@ C10_DEFINE_string(server, "tcp://*:5555", "The server address.");
|
|||
C10_DEFINE_string(input_db, "", "The input db.");
|
||||
C10_DEFINE_string(input_db_type, "", "The input db type.");
|
||||
|
||||
using caffe2::db::DB;
|
||||
using caffe2::db::Cursor;
|
||||
using caffe2::string;
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
caffe2::GlobalInit(&argc, &argv);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user