conv3d

open override fun conv3d(outChannels: Int, kernelSize: Triple<Int, Int, Int>, stride: Triple<Int, Int, Int>, padding: Triple<Int, Int, Int>, dilation: Triple<Int, Int, Int>, groups: Int, bias: Boolean, id: String, content: CONV3D<T, V>.() -> Unit)(source)

Creates a 3D convolutional layer for processing volumetric data.

Parameters

outChannels

Number of output channels/filters

kernelSize

Size of the convolving kernel (depth, height, width)

stride

Stride of the convolution (default: 1, 1, 1)

padding

Padding added to all sides of the input (default: 0, 0, 0)

dilation

Spacing between kernel elements (default: 1, 1, 1)

groups

Number of groups for grouped convolution (default: 1)

bias

Whether to add a learnable bias (default: true)

id

Optional identifier for the layer

content

Configuration block for weights and bias initialization