Upsample2d
class Upsample2d<T : DType, V>(val scale: Pair<Int, Int> = 2 to 2, val mode: UpsampleMode = UpsampleMode.Nearest, val alignCorners: Boolean = false, val name: String = "Upsample2d") : Module<T, V> (source)
2D upsampling layer for increasing spatial resolution.
Supports nearest-neighbor mode (typical for YOLO necks). Bilinear can be wired once backends add support.