chapter five
5 Procedural Design Pattern
This chapter covers
- Introducing a procedural design pattern for a convolutional neural network
- Decomposing the architecture of the procedural design pattern into macro and micro components
- Coding former state-of-the-art (SOTA) models with the procedural design pattern
Prior to 2017, the majority of renditions of neural network models were coded in a batch scripting style. As AI researchers and experienced software engineers became increasingly involved in research and design, we started to see a shift in the coding of models that reflected software engineering principles for reuse and design patterns.
One of the earliest versions of using design patterns for neural network models was the use of a procedural style for reuse. A design pattern implies that there is a “best practice” for constructing and coding a model which can be re-applied across a wide range of cases, such as image classification, object detection and tracking, facial recognition, image segmentation, super resolution, and style transfer.