human
Is there a one line code to find maximal value in a matrix?
assistant
Here is some code to find maximal value in matrix `matrix`

max([max(i) for i in matrix])

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