<human>:  How to apply numpy.linalg.norm to each row of a matrix?
<bot>: Here is some code to apply `numpy.linalg.norm` to each row of a matrix `a`

numpy.apply_along_axis(numpy.linalg.norm, 1, a)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.