Contents

apply(batchSize:inputA:inputB:output:)

Applies the layer to a set of input array descriptors, writing the result to a set of output array descriptors.

Declaration

func apply(batchSize: Int, inputA: BNNSNDArrayDescriptor, inputB: BNNSNDArrayDescriptor, output: BNNSNDArrayDescriptor) throws

Parameters

  • 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.

See Also

Applying a Binary Arithmetic Layer