Contents

init(inputADescriptorType:inputBDescriptorType:outputDescriptorType:function:)

Returns a new fused binary arithmetic parameters structure.

Declaration

init(inputADescriptorType: BNNS.DescriptorType, inputBDescriptorType: BNNS.DescriptorType, outputDescriptorType: BNNS.DescriptorType, function: BNNS.ArithmeticBinaryFunction)

Parameters

  • inputADescriptorType:

    The descriptor type of the first input.

  • inputBDescriptorType:

    The descriptor type of the second input.

  • outputDescriptorType:

    The descriptor type of the output.

  • function:

    The arithmetic function.