sourceGradientTensors(for:)
Gets the source gradient tensors for the layer in the training graph you specify.
Declaration
func sourceGradientTensors(for layer: MLCLayer) -> [MLCTensor]Parameters
- layer:
A layer in the training graph.
Return Value
An array of tensors.