We utilize a residual neural network for the design of slice-selective RF and gradient trajectories. The network was trained with 300k SLR RF pulses. The network predicts the RF pulse and the gradient for a desired magnetization profile. The aim is to evaluate the feasibility and dependence on different parameter variations of this new approach. This method is validated comparing the prediction of the neural network with Bloch simulations and with phantom experiments at 3T. These insights serve as a basis for more general and complex pulses for future neural network design.