Max value of the multidimensional array

How to find the maximum value of the multidimensional array using only array locator methods ?

int unsigned multi_d_arr[2][2];
int unsigned max_val[$];

foreach(multi_d_arr[i]) begin
max_val = {max_val,multi_d_arr[i].max()};
end
max_val = max_val.max();

Final max value will get store at max_val[0]