Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Member Functions
caffe2::GLPredictor Class Reference
Inheritance diagram for caffe2::GLPredictor:
caffe2::Predictor

Public Member Functions

 GLPredictor (const NetDef &init_net, const NetDef &run_net, bool use_texture_input=false, Workspace *parent=nullptr)
 
template<class T >
bool run (std::vector< GLImageVector< T > * > &inputs, std::vector< const GLImageVector< T > * > *outputs)
 
- Public Member Functions inherited from caffe2::Predictor
 Predictor (const MetaNetDef &net, Workspace *parent=nullptr)
 
 Predictor (const NetDef &init_net, const NetDef &run_net, Workspace *parent=nullptr)
 
bool run (const TensorVector &inputs, TensorVector *outputs)
 
bool run_map (const TensorMap &inputs, TensorVector *outputs)
 
const NetDef & def () const
 
Workspacews ()
 

Additional Inherited Members

- Public Types inherited from caffe2::Predictor
using TensorVector = std::vector< TensorCPU * >
 
using TensorMap = std::unordered_map< std::string, TensorCPU * >
 

Detailed Description

Definition at line 9 of file GLPredictor.h.


The documentation for this class was generated from the following files: