init(weights:biases:descriptor:)
Creates a convolution layer with the weights, biases, and descriptor you specify.
Declaration
convenience init?(weights: MLCTensor, biases: MLCTensor?, descriptor: MLCConvolutionDescriptor)Parameters
- weights:
The weights tensor.
- biases:
The weights tensor.
- descriptor:
An object you use to configure the multi-head attention layer.