Port-Hamiltonian neural networks with output error noise models | Synapse