Project DelphiTensors Workshop

Fiber

Fiber — fix every index except one. Spanish: fibra.

photo[100, 200, :].shape # (3,) — the 3 colour values of one pixel

A slice keeps many axes and drops one. A fiber does the opposite: it keeps exactly one axis and drops all the others.