Lecture Notes in Computer Science, 1993, Volume 686/1993, 358-363, DOI: 10.1007/3-540-56798-4_173

Automatic generation of C++ code for neural network simulation

Stephan Dreiseitl and Dongming Wang

View Related Documents

Abstract

Coding neural network simulators by hand is often a tedious and error-prone task. In this paper, we seek to remedy this situation by presenting a code generator that produces efficient C++ simulation code for a wide variety of backpropagation networks. We define a high-level, Maple-like language that allows the specification of such networks. This language is compiled to C++ code segments that in turn are executable in link with an already given generic code for backpropagation networks. Our generator allows the specification of arbitrary network topologies (with the restriction of full connections between layers) and weightchange formulae, while the activation rule and error propagation rule remain fixed. With this tool, future research on learning rules for backpropagation networks can be made more efficient by eliminating routine work and producing code that is guaranteed to be error-free.

Fulltext Preview

Image of the first page of the fulltext document