DataBlock tutorial

Hi there, how are you doing?

I’m going through the DataBlock tutorial on FastAI.
I’m at the step adding ImageBlock/CategoryBlock.

The example in this tutorial is single label classification so CategoryBlock is used. However, I tested with it with MultiCategoryBlock and the result I got is quite confusing.

Since its single label and I instructed DataBlock to assign to have either Dog or Cat label, I was expecting a tensor with all “0” and 1 cell with value “1”. But the result I got is different. Not to mention that it is 1x6 which I dont understand why.

I hope you could help me understand this.

Thank you