Skip to content

an autoencoder for mnist denoising using hls4ml to synthesize

Notifications You must be signed in to change notification settings

ChiRuiChen/AutoEncoder_hls4ml

Repository files navigation

AutoEncoder_hls4ml

an autoencoder for mnist denoising using hls4ml to synthesize

original author: https://youtu.be/Sm54KXD-L1k

the config used for hls4ml:

hls_path = 'denoise_mnist'

config = hls4ml.utils.config_from_keras_model(model, granularity='model')

config['Model'] = {}

config['Model']['ReuseFactor'] = 64

config['Model']['Strategy'] = 'Resource'

config['Model']['Precision'] = 'ap_fixed<32,16>'

hls_model = hls4ml.converters.convert_from_keras_model(model,
                                                       hls_config=config,
                                                       output_dir=hls_path,
                                                       backend='VivadoAccelerator',
                                                       io_type='io_stream',
                                                       board='pynq-z2')

About

an autoencoder for mnist denoising using hls4ml to synthesize

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published