Realm

oa::ml::matrix::conv_3d_transpose

Apply three-dimensional transposed convolution to an NCDHW Matrix. weight uses [input_channels, output_channels, kernel, kernel, kernel] IOKKK layout and bias uses [output_channels]. Each output extent is (input - 1) * stride - 2 * padding + kernel. Errors Returns an error unless all inputs are nonempty same-runtime F32 matrices, channel and cubic-kernel geometry agree, stride is nonzero, output extents are positive and fit the shader ABI, or runtime recording fails.

FnRust public API

Function Documentation

pub fn conv_3d_transpose( input: &Matrix, weight: &Matrix, bias: &Matrix, stride: usize, padding: usize ) -> Result<Matrix>
Apply three-dimensional transposed convolution to an NCDHW Matrix. weight uses [input_channels, output_channels, kernel, kernel, kernel] IOKKK layout and bias uses [output_channels]. Each output extent is (input - 1) * stride - 2 * padding + kernel. Errors Returns an error unless all inputs are nonempty same-runtime F32 matrices, channel and cubic-kernel geometry agree, stride is nonzero, output extents are positive and fit the shader ABI, or runtime recording fails.