Applies the layer backward to generate input, output, weights, and bias gradients.
- Parameter batchSize: The number of input-output pairs to process.
- Parameter input: The input descriptor.
- Parameter output: The output descriptor.
- Parameter outputGradient: The output gradient descriptor.
- Parameter inputGradient: The input gradient descriptor.
- Parameter weightsGradient: The weights gradient descriptor.
- Parameter biasGradient: The bias gradient descriptor.
Creates a new convolution layer.
- Parameter convolutionType: The convolution type.
- Parameter input: The input descriptor.
- Parameter weights: The weights descriptor.
- Parameter output: The output descriptor.
- Parameter bias: The bias descriptor.
- Parameter padding: The number of zeros virtually added to the edges of the input.
- Parameter activation: The activation function to apply to the result.
- Parameter stride: Increment in the input image.
- Parameter dilationStride: increment in the input image while convolving with the kernel.
- Parameter filterParameters: Runtime filter parameters.
- Returns: A new convolution layer.