Optimizing Peptides in TensorFlow 2