SNABSuite  0.x
Spiking Neural Architecture Benchmark Suite
Classes | Namespaces | Variables
convert_weights.py File Reference

Go to the source code of this file.

Classes

class  convert_weights.WeightClip
 

Namespaces

 convert_weights
 

Variables

 convert_weights.parser = argparse.ArgumentParser(description='Converts a Keras model to json interpreted by the respective SNAB')
 
 convert_weights.help
 
 convert_weights.required
 
 convert_weights.args = parser.parse_args()
 
 convert_weights.json_file = open(args.a).read()
 
 convert_weights.model = model_from_json(json_file)
 
 convert_weights.netw = json.loads(json_file)
 
dictionary convert_weights.data = {}
 
list convert_weights.input_shape = []
 
dictionary convert_weights.layer_dict = {}
 
 convert_weights.layer_name = layer["config"]["name"]
 
 convert_weights.file
 
 convert_weights.use_single_float