Structure-Preserving Physics-Informed Neural Networks with Energy or Lyapunov Structure | Synapse