Actually pass the same stride value to the gradient ops.