Contents

init(inputDescriptorType:outputDescriptorType:function:)

Returns a new fused unary arithmetic parameters structure.

Declaration

init(inputDescriptorType: BNNS.DescriptorType, outputDescriptorType: BNNS.DescriptorType, function: BNNS.ArithmeticUnaryFunction)

Parameters

  • inputDescriptorType:

    The descriptor type of the input.

  • outputDescriptorType:

    The descriptor type of the output.

  • function:

    The arithmetic function.