Contents

apply(batchSize:inputA:inputB:inputC: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, inputC: 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.

  • inputC:

    The descriptor of the third input.

  • output:

    The descriptor of the output.

See Also

Applying a Ternary Arithmetic Layer