code: def test_power_arg0():
      # the +1.'s here are to avoid regimes where numerical diffs fail
      make_fun = lambda y: lambda x: np.power(x, y)
      fun = make_fun(npr.randn() ** 2 + 1.0)
      check_grads(fun)(npr.rand() ** 2 + 1.0)
  
      # test y == 0. as a special case, c.f. #116
      fun = make_fun(0.0)
      assert grad(fun)(0.0) == 0.0
      assert grad(grad(fun))(0.0) == 0.0
  
imports: from __future__ import absolute_import
  import autograd.numpy
  import autograd.numpy.random
  from autograd.test_util import check_grads
  from autograd import grad
label_desc: Use image node_id 24 for calling a global function with example usage: test_power_arg0() without return types