code: def _broadcast_to(xp, x, shape):
      if hasattr(xp, "broadcast_to"):
          return xp.broadcast_to(x, shape)
      else:
          dummy = xp.empty(shape)
          return xp.broadcast_arrays(x, dummy)[0]
  
imports: import unittest
  import numpy
  import chainer
  from chainer import cuda
  import chainer.functions
  from chainer.functions.array.as_strided import _stride_array
  from chainer import testing
label_desc: Use image node_id 1 for calling a global function with example usage: _broadcast_to(xp, x, shape) and returns: xp, xp