SNABSuite  0.x
Spiking Neural Architecture Benchmark Suite
Classes | Variables
convert_weights Namespace Reference

Classes

class  WeightClip
 

Variables

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

Variable Documentation

convert_weights.args = parser.parse_args()

Definition at line 7 of file convert_weights.py.

convert_weights.data = {}

Definition at line 33 of file convert_weights.py.

convert_weights.file

Definition at line 102 of file convert_weights.py.

convert_weights.help

Definition at line 4 of file convert_weights.py.

list convert_weights.input_shape = []

Definition at line 34 of file convert_weights.py.

convert_weights.json_file = open(args.a).read()

Definition at line 28 of file convert_weights.py.

dictionary convert_weights.layer_dict = {}

Definition at line 40 of file convert_weights.py.

convert_weights.layer_name = layer["config"]["name"]

Definition at line 57 of file convert_weights.py.

convert_weights.model = model_from_json(json_file)

Definition at line 29 of file convert_weights.py.

convert_weights.netw = json.loads(json_file)

Definition at line 31 of file convert_weights.py.

convert_weights.parser = argparse.ArgumentParser(description='Converts a Keras model to json interpreted by the respective SNAB')

Definition at line 3 of file convert_weights.py.

convert_weights.required

Definition at line 4 of file convert_weights.py.

convert_weights.use_single_float

Definition at line 102 of file convert_weights.py.