MIGraphX
2.1
Contents:
Python User Guide
C++ User Guide
MIGraphX Driver
Contributor Guide
MIGraphX Fundamentals
Data types
Operators
Program
Targets
Quantization
quantize_fp16
quantize_int8
Passes
Matchers
Tools
MIGraphX
»
Contributor Guide
»
Quantization
View page source
Quantization
quantize_fp16
void
migraphx
::
internal
::
quantize_fp16
(
program
&
prog
,
const
std
::
vector
<
std
::
string
>
&
ins_names
=
{
"all"
}
)
quantize_int8
void
migraphx
::
internal
::
quantize_int8
(
program
&
prog
,
const
target
&
t
,
const
std
::
vector
<
parameter_map
>
&
calibration
,
const
std
::
vector
<
std
::
string
>
&
ins_names
=
{
"dot"
,
"convolution"
}
)