Expand description
2D Operations
This module contains operations on tensor of shape [N, C, H, W] on each pixel.
Functions
- Compute the vector dot product between two tensors for each pixel.
- Compute the norm of vectors in 2d pictures. Equivalent to
linalg_normbut faster. - Normalize vectors in 2d pictures to unit length.
- Rotate the of vectors in 2d pictures.
- Scale the of vectors in 2d pictures.
- Translate the of vectors in 2d pictures.