Main Content

Deep Learning HDL Int8 To Single Conversion

Convert 8-bit signed integer data to single-precision data

Since R2024b

Description

The Deep Learning HDL Int8 To Single Conversion block converts 8-bit signed integer data to single-precision data. To add the block, at the MATLAB® command line, enter:

open_system("dlhdlutils")

Examples

Ports

Input

expand all

8-bit signed integer data specified as an int8 data type scalar or vector.

Data Types: int8

Conversion exponent, specified as a scalar. You must connect this input port to a Constant block. The value of the Constant block must be the output of the getInt8ToSingleConversionExponent method.

Data Types: int8

Valid signal, specified as a Boolean scalar.

Data Types: Boolean

Output

expand all

Single-precision data returned as a single data type scalar or vector.

Data Types: single

Valid signal, returned as a Boolean scalar.

Data Types: Boolean

Version History

Introduced in R2024b