Electrical faults classification in permanent magnet synchronous motor using ResNet neural network | Synapse