Contents

addInputs(_:lossLabels:)

Adds the inputs and loss label inputs that you specify to the training graph.

Declaration

func addInputs(_ inputs: [String : MLCTensor], lossLabels: [String : MLCTensor]?) -> Bool

Parameters

  • inputs:

    A dictionary that contains inputs.

  • lossLabels:

    A dictionary that contains loss label inputs.

Return Value

true if the operation was successful.

See Also

Preparing Training Graphs