How does fastai calculates Multi-class multi-label classification?

I wanted to see how it is done, I tried looking at the sourcecode here at v0.7.2/fastai/dataset.py, but coulnt make heads or tails of it!
Can anyone please tell me how multilable multiclass classification is done ?
Thank you all in advance