apply(batchSize:inputA:inputB:output:)
Applies the layer to a set of input object pairs, writing the result to a set of output objects.
Declaration
func apply(batchSize: Int, inputA: BNNSNDArrayDescriptor, inputB: BNNSNDArrayDescriptor, output: BNNSNDArrayDescriptor) throwsParameters
- batchSize:
The number of input-output pairs.
- inputA:
The descriptor of the first input.
- inputB:
The descriptor of the second input.
- output:
The descriptor of the output.