code: def __init__(self, reduce, ignore_mask, sample_size, samples, wx):
      self.reduce = reduce
      self.ignore_mask = ignore_mask
      self.sample_size = sample_size
      self.samples = samples
      self.wx = wx
  
imports: import numpy
  import six
  import chainer
  from chainer import backend
  from chainer.backends import cuda
  from chainer import function_node
  from chainer import utils
  from chainer.utils import argument
  from chainer.utils import precision
  from chainer.utils import type_check
label_desc: Use image node_id 1 to create a new NegativeSamplingFunctionGrad object from inherited base classes: function_node with example: obj = NegativeSamplingFunctionGrad(reduce, ignore_mask, sample_size, samples, wx)