Contents

gradientTensor(forInput:)

Gets the gradient tensor for the input tensor you specify.

Declaration

func gradientTensor(forInput input: MLCTensor) -> MLCTensor?

Parameters

  • input:

    An input tensor.

Return Value

A gradient tensor.

See Also

Inspecting Training Graphs