Home > database >  What these alphabets stands for?
What these alphabets stands for?

Time:06-18

Sorry if this question is trivial but I couldn't find the answer in the internet,

In pytorch documentation I saw these large alphabets in formulas like: Input:(N, C, H^in, W^out) link: https://pytorch.org/docs/stable/generated/torch.nn.MaxPool2d.html

So what are these stands for and where I can find the meaning of these alphabets.

CodePudding user response:

Those are typical axis notations used in the PyTorch documentation to refer to the dimension sizes:

  • N: batch size
  • C: number of channels
  • W: the width of the tensor
  • H: the height of the tensor

Suffix _in and _out stand for the axis' corresponding input and output size respectively.

  • Related