zero

fun <T : DType, V> GradState<T, V>.zero()(source)

Clear the stored gradient.