Caffe2 - C++ API
A deep learning, cross platform ML framework
Related Pages
Modules
Data Structures
Files
C++ API
Python API
GitHub
File List
Globals
caffe2
mobile
contrib
opengl
core
GLPredictor.h
1
2
#pragma once
3
4
#include "GLImage.h"
5
#include "caffe2/core/net.h"
6
#include "caffe2/core/predictor.h"
7
8
namespace
caffe2
{
9
class
GLPredictor
:
public
Predictor
{
10
public
:
11
GLPredictor
(
const
NetDef& init_net,
12
const
NetDef& run_net,
13
bool
use_texture_input =
false
,
14
Workspace
* parent =
nullptr
);
15
16
template
<
class
T>
17
bool
run(std::vector<
GLImageVector<T>
*>& inputs, std::vector<
const
GLImageVector<T>
*>* outputs);
18
19
~
GLPredictor
();
20
};
21
}
// namespace caffe2
caffe2::GLPredictor
Definition:
GLPredictor.h:9
caffe2::Workspace
Workspace is a class that holds all the related objects created during runtime: (1) all blobs...
Definition:
workspace.h:47
caffe2::Predictor
Definition:
predictor.h:11
caffe2
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...
Definition:
convert_encoded_to_raw_leveldb.cc:47
GLImageVector
Definition:
GLImage.h:102
Generated on Thu Apr 19 2018 13:03:54 for Caffe2 - C++ API by
1.8.11