Contents

bindOptimizerData(_:deviceData:with:)

Associates the optimizer and device data you specify along with the tensor.

Declaration

func bindOptimizerData(_ data: [MLCTensorData], deviceData: [MLCTensorOptimizerDeviceData]?, with tensor: MLCTensor) -> Bool

Parameters

  • data:

    The optimizer data that you want to associate with the tensor.

  • deviceData:

    The optimizer device data that you want to associate with the tensor.

  • tensor:

    The tensor that you want to associate the data with.

Return Value

A Boolean value that indicates whether the data successfully associates with the tensor.

See Also

Inspecting Training Graphs