Contents

apply(batchSize:inputA:inputB:inputC:output:for:)

Applies the layer to a set of input objects and writes the result to a set of output objects, where the first layer accepts two inputs.

Declaration

func apply(batchSize: Int, inputA: BNNSNDArrayDescriptor, inputB: BNNSNDArrayDescriptor, inputC: BNNSNDArrayDescriptor, output: BNNSNDArrayDescriptor, for learningPhase: BNNS.LearningPhase) 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.

  • learningPhase:

    An enumeration that specifies whether the function call context is training or inference.

See Also

Applying a Fused Parameters Layer