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
share
contrib
zstd
quant_decomp_zstd_op.h
1
#ifndef QUANT_DECOMP_OP_H_
2
#define QUANT_DECOMP_OP_H_
3
4
#include "caffe2/core/context.h"
5
#include "caffe2/core/operator.h"
6
7
namespace
caffe2
{
8
9
// Decompress a set of tensors compressed using zstd,
10
// see quant_decomp_op_test.py for how to compress
11
class
QuantDecompZstdOp
final :
public
Operator
<CPUContext> {
12
public
:
13
USE_OPERATOR_FUNCTIONS(
CPUContext
);
14
QuantDecompZstdOp
(
const
OperatorDef& operator_def,
Workspace
* ws)
15
:
Operator<CPUContext>
(operator_def, ws) {}
16
17
~
QuantDecompZstdOp
() {}
18
19
bool
RunOnDevice()
override
;
20
};
21
22
}
// namespace caffe2
23
#endif // QUANT_DECOMP_OP_H_
caffe2::CPUContext
The CPU Context, representing the bare minimum of what a Context class in Caffe2 should implement...
Definition:
context.h:40
caffe2::Workspace
Workspace is a class that holds all the related objects created during runtime: (1) all blobs...
Definition:
workspace.h:47
caffe2
A global dictionary that holds information about what Caffe2 modules have been loaded in the current ...
Definition:
blob.h:13
caffe2::Operator
Definition:
operator.h:677
caffe2::QuantDecompZstdOp
Definition:
quant_decomp_zstd_op.h:11
Generated on Thu Mar 21 2019 13:06:21 for Caffe2 - C++ API by
1.8.11