Go to the source code of this file.
| Namespaces | |
| dump_to_simple_cpp | |
| Variables | |
| 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') | |
| dump_to_simple_cpp.help | |
| dump_to_simple_cpp.required | |
| dump_to_simple_cpp.args = parser.parse_args() | |
| dump_to_simple_cpp.arch = open(args.architecture).read() | |
| dump_to_simple_cpp.model = model_from_json(arch) | |
| dump_to_simple_cpp.loss | |
| dump_to_simple_cpp.optimizer | |
| list | dump_to_simple_cpp.layers = [] | 
| dump_to_simple_cpp.W = model.layers[ind].get_weights()[0] | |
 1.8.11
 1.8.11