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