Variables
dump_to_simple_cpp Namespace Reference

Variables

 threshold
 
 parser = argparse.ArgumentParser(description='This is a simple script to dump Keras model into simple format suitable for porting into pure C++ model')
 
 help
 
 required
 
 args = parser.parse_args()
 
 arch = open(args.architecture).read()
 
 model = model_from_json(arch)
 
 loss
 
 optimizer
 
list layers = []
 
 W = model.layers[ind].get_weights()[0]
 

Variable Documentation

dump_to_simple_cpp.arch = open(args.architecture).read()

Definition at line 20 of file dump_to_simple_cpp.py.

dump_to_simple_cpp.args = parser.parse_args()

Definition at line 14 of file dump_to_simple_cpp.py.

dump_to_simple_cpp.help

Definition at line 10 of file dump_to_simple_cpp.py.

list dump_to_simple_cpp.layers = []

Definition at line 29 of file dump_to_simple_cpp.py.

dump_to_simple_cpp.loss

Definition at line 23 of file dump_to_simple_cpp.py.

dump_to_simple_cpp.model = model_from_json(arch)

Definition at line 21 of file dump_to_simple_cpp.py.

dump_to_simple_cpp.optimizer

Definition at line 23 of file dump_to_simple_cpp.py.

dump_to_simple_cpp.parser = argparse.ArgumentParser(description='This is a simple script to dump Keras model into simple format suitable for porting into pure C++ model')

Definition at line 8 of file dump_to_simple_cpp.py.

dump_to_simple_cpp.required

Definition at line 10 of file dump_to_simple_cpp.py.

dump_to_simple_cpp.threshold
dump_to_simple_cpp.W = model.layers[ind].get_weights()[0]

Definition at line 45 of file dump_to_simple_cpp.py.