Contents

apply(batchSize:input:output:)

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

Declaration

func apply(batchSize: Int, input: BNNSNDArrayDescriptor, output: BNNSNDArrayDescriptor) throws

Parameters

  • batchSize:

    The number of input-output pairs.

  • input:

    The descriptor of the input.

  • output:

    The descriptor of the output.

See Also

Applying an Embedding Layer