Contents

node(with:sources:)

Adds the layer and source tensors that you specify to the graph.

Declaration

func node(with layer: MLCLayer, sources: [MLCTensor]) -> MLCTensor?

Parameters

  • layer:

    The layer.

  • sources:

    An array that contains the source tensors.

Return Value

A result tensor.

See Also

Adding Layers to Graphs