customUpsampling

fun <T : DType, V> customUpsampling(inChannels: Int, outChannels: Int, upsamplingFactor: Pair<Int, Int>, kernelSize: Pair<Int, Int>? = null, padding: Pair<Int, Int>? = null, bias: Boolean = true, name: String = "TransposedConv2d_custom", initWeights: Tensor<T, V>, initBias: Tensor<T, V>? = null): TransposedConv2d<T, V>(source)

Creates a transposed convolution for custom upsampling factor.