init(alpha:i_desc:o_desc:)
Returns a new Gram matrix layer parameters structure from the specified parameters.
Declaration
init(alpha: Float, i_desc: BNNSNDArrayDescriptor, o_desc: BNNSNDArrayDescriptor)Parameters
- alpha:
A value to scale the result.
- i_desc:
The descriptor of the input.
- o_desc:
The descriptor of the output.