OpenCores
URL https://opencores.org/ocsvn/keras_to_fpga/keras_to_fpga/trunk

Subversion Repositories keras_to_fpga

[/] [keras_to_fpga/] [trunk/] [scripts/] [weights.py] - Rev 2

Compare with Previous | Blame | View Log

#
 
import struct
 
print(struct.unpack('!f', bytes.fromhex('405cb2c3'))[0])
print(struct.unpack('!f', bytes.fromhex('c05cb2c0'))[0])
print(struct.unpack('!f', bytes.fromhex('b49294a7'))[0])
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.