node(with:sources:lossLabels:)
Adds the layer, sources, and loss labels tensors that you specify to the graph.
Declaration
func node(with layer: MLCLayer, sources: [MLCTensor], lossLabels: [MLCTensor]) -> MLCTensor?Parameters
- layer:
The layer.
- sources:
An array that contains the source tensors.
- lossLabels:
An array that contains the loss labels tensors.
Return Value
A result tensor.