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
l2_minimization.h
1
#pragma once
2
3
#include "quantization_error_minimization.h"
4
5
#include <algorithm>
6
#include <cassert>
7
#include <cmath>
8
#include <iostream>
9
#include <limits>
10
11
namespace
dnnlowp
{
12
16
class
L2ErrorMinimization
:
public
NormMinimization
{
17
public
:
18
L2ErrorMinimization
() :
NormMinimization
(L2){};
19
};
20
21
namespace
internal {
22
23
float
L2MinimizationKernelAVX2(
24
int
precision,
25
float
* bins,
26
int
nbins,
27
float
bin_width,
28
float
dst_bin_width,
29
int
start_bin);
30
31
}
// namespace internal
32
33
}
// namespace dnnlowp
dnnlowp
Definition:
caffe2_dnnlowp_utils.cc:21
dnnlowp::NormMinimization
Definition:
quantization_error_minimization.h:16
dnnlowp::L2ErrorMinimization
A quantization scheme that minimizes L2 norm of quantization error.
Definition:
l2_minimization.h:16
Generated on Thu Mar 21 2019 13:06:21 for Caffe2 - C++ API by
1.8.11