def get_grads()
in
check.py [0:0]
2
lines of code
2
McCabe index (conditional complexity)
def get_grads(variables): return [var.grad.clone() for var in variables]