Contents

compile(options:device:)

Compiles the training graph for the options and device you specify.

Declaration

func compile(options: MLCGraphCompilationOptions = [], device: MLCDevice) -> Bool

Parameters

  • options:

    The compiler options.

  • device:

    The device.

Return Value

true if the operation was successful.

See Also

Preparing Training Graphs