KFrank:

(You could also have your model return a vector of differences
between the left-hand and right-hand sides of your equations,
and use its sum of squares as your loss.)


To this sentence I want to ask you one more thing. “return a vector of differences” Please please, can you give me example how can I write this in python ? I understand what you mean but how to write vector like this in python. Thank you.