getGradient

abstract fun getGradient(): Gradient?

Internal method to retrieve the gradient implementation.