What is torch.mode used for?

about the torch.mode link

what is its function ?
is it used to an array of the modal (most common) value in the passed array as scipy.stats.mode ?
is there any reference ?

thanks

http://pytorch.org/docs/torch.html#torch.mode

thanks,

I couldnot understand the explanation of document, is there other related materials?