code: def _get_extended_shape(W, x):
      return (1,) + W.shape + (1,) * (x.ndim - W.ndim - 1)
  
imports: import numpy
  import chainer
  from chainer.backends import cuda
  from chainer import function_node
  from chainer.utils import type_check
label_desc: Use image node_id 2 for calling a global function with example usage: _get_extended_shape(W, x) and returns: unknown