Performance improvement for the CMOS rail-to-rail amplifier via APSO-based design and SNN’s training | Synapse