KS-Net: Multi-layer network model for determining the rotor type from motor parameters in interior PMSMs