Contents

executeOptimizerUpdate(options:completionHandler:)

Executes the optimizer update pass of the training graph with the execution options and completion handler you specify.

Declaration

func executeOptimizerUpdate(options: MLCExecutionOptions = [], completionHandler: MLCGraphCompletionHandler? = nil) -> Bool

Parameters

  • options:

    The execution options.

  • completionHandler:

    The completion handler.

Return Value

true if the execution was successful.

See Also

Executing Forward, Gradient, and Optimizer Updates