qkeras.qtools.interface

I/O implementation.

Functions

map_to_json(mydict)

write the dictionary to json format.

populate_quantizer(quantizer[, shape, ...])

write all the needed fields in the quantizer to dictionary.

print_qstats(graph)

Prints quantization statistics for the model.

qkeras.qtools.interface.map_to_json(mydict)[source]

write the dictionary to json format.

qkeras.qtools.interface.populate_quantizer(quantizer, shape=None, implemented_as=None)[source]

write all the needed fields in the quantizer to dictionary.

qkeras.qtools.interface.print_qstats(graph)[source]

Prints quantization statistics for the model.