Protocols

The following protocols are available globally.

  • The delegate support methods tracking the calculation status and result of associated Operator object. Operator could assign attribute computationDelegate to a instance conforms to this protocol. The instanced could track the calculation status of operator.

    See more

    Declaration

    Swift

    public protocol OperatorCalculationDelegate
  • This protocol defines the common computation APIs of Operator.

    See more

    Declaration

    Swift

    public protocol ComputableOperator
  • ModelCallback defines a serires of APIs a callback object for models.

    Declaration

    Swift

    public protocol ModelCallback
  • This protocol defines higher-level APIs for creating, training and prediction of a model.

    See more

    Declaration

    Swift

    public protocol Model: Graph