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
quantization
server
kl_minimization.h
1
#pragma once
2
3
#include "quantization_error_minimization.h"
4
5
namespace
dnnlowp
{
6
10
class
KLDivergenceMinimization
final :
public
QuantizationErrorMinimization
{
11
public
:
12
TensorQuantizationParams ChooseQuantizationParams(
13
const
Histogram
& hist,
14
bool
preserve_sparsity =
false
,
15
int
precision = 8)
override
;
16
};
17
18
}
// namespace dnnlowp
dnnlowp
Definition:
caffe2_dnnlowp_utils.cc:21
dnnlowp::QuantizationErrorMinimization
Definition:
quantization_error_minimization.h:7
dnnlowp::KLDivergenceMinimization
A quantization scheme that minimizes Kullback-Leiber divergence.
Definition:
kl_minimization.h:10
dnnlowp::Histogram
bin_width = (max - min)/nbins ith bin (zero-based indexing) contains [i*bin_width, (i+1)*bin_width) with an exception that (nbins - 1)th bin contains [(nbins-1)*bin_width, nbins*bin_width]
Definition:
dynamic_histogram.h:17
Generated on Thu Mar 21 2019 13:06:21 for Caffe2 - C++ API by
1.8.11