pad2d

open override fun <T : DType, V> pad2d(tensor: Tensor<T, V>, padLeft: Int, padRight: Int, padTop: Int, padBottom: Int): Tensor<T, V>

Zero-pad a 4D tensor N, C, H, W on the spatial dimensions.