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.
Gets the gradient tensor for the input tensor you specify.
func gradientTensor(forInput input: MLCTensor) -> MLCTensor?An input tensor.
A gradient tensor.