Caffe2 - C++ API
A deep learning, cross platform ML framework
dequantize_dnnlowp_op.h
1 #pragma once
2 
3 #include "caffe2/core/operator.h"
4 #include "caffe2/quantization/server/dnnlowp.h"
5 
6 namespace caffe2 {
7 
8 template <typename T>
9 class DequantizeDNNLowPOp final : public Operator<CPUContext> {
10  public:
11  USE_OPERATOR_FUNCTIONS(CPUContext);
12  DequantizeDNNLowPOp(const OperatorDef& operator_def, Workspace* ws);
13 
14  bool RunOnDevice() override;
15 
16  private:
17  std::unique_ptr<dnnlowp::QuantizationFactory> qfactory_;
18 }; // class DequantizeDNNLowPOp
19 
20 } // namespace caffe2
The CPU Context, representing the bare minimum of what a Context class in Caffe2 should implement...
Definition: context.h:40
Workspace is a class that holds all the related objects created during runtime: (1) all blobs...
Definition: workspace.h:47
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...
Definition: blob.h:13