Fabric defect recognition using optimized neural networks | Synapse