I’ve fixed my post above according to this (use max.
instead of maximum
).
The source of the confusion, is that maximum
can be used for row-wise maximum by adding the dims=2
named parameter on a matrix argument (at the top of my post).
2 Likes