code: def __init__(self, convnd):
      W_node = convnd.inputs[1]
      self.ndim = convnd.ndim
      self.ksize = W_node.shape[2:]
      self.stride = convnd.stride
      self.pad = convnd.pad
      self.cover_all = convnd.cover_all
      self.dilate = convnd.dilate
      self.groups = convnd.groups
      self.W_dtype = W_node.dtype
  
imports: import numpy
  from six import moves
  import chainer
  from chainer import backend
  from chainer.backends import cuda
  from chainer import configuration
  from chainer import function_node
  from chainer.functions.connection import convolution_2d
  from chainer import utils
  from chainer.utils import conv
  from chainer.utils import conv_nd
  from chainer.utils import type_check
  import chainerx
label_desc: Use image node_id 1 to create a new ConvolutionNDGradW object from inherited base classes: function_node with example: obj = ConvolutionNDGradW(convnd)