I figured out that one way is to do the following:
L= [A,B,C]
L = torch.stack(L)
L.max(0)[0]

but i dont know I should do L.max(0) to get max value along the dim = 1???
Also please let me know if there is any other way to get the max value?