.expand(1,3,3,3)/6 | lesson 6 | unit axis?

k = tensor([
[0.  ,-5/3,1],
[1.  ,1   ,1],

What does the 1 inside the .expand mean?

I know that 3x3x3 means the size of the kernel and how many times repeat it for the 3 colors rgb (I think), but what does 1 mean, I mean, he says that this 1 , represent the 1 unit axis for the kernel, what does this mean??

Thanks :slight_smile:

Okay, I get it, I think 1 means a set of 3 kernels, am I wrong?