getSingleToInt8ConversionExponent
Class: dlhdl.Processor
Namespace: dlhdl
Syntax
Description
returns the exponent value for the exponentValue
= getSingleToInt8ConversionExponent(hProc
)single-to-int8
data type conversion
for the input layer of the network specified by the deep learning processor object
hProc
. Use the exponentValue
output argument
as an input to the Deep Learning HDL Single
To Int8 Conversion block.
returns the exponent value for the exponentValue
= getSingleToInt8ConversionExponent(hProc
,Name=Value
)single-to-int8
data type conversion
using one or more arguments specified by optional name-value arguments.
Input Arguments
Output Arguments
Examples
Algorithms
The scaling algorithm used to convert single-to-int8
data is
int8data = singleData * 2^(-singleToInt8Exponent)
. The
singleToInt8Exponent
is the output of the
getSingleToInt8ConversionExponent
method.
Version History
Introduced in R2024b