code: def generate_grad_grad_inputs(self, inputs_template):
      grad_grad_in = []
      c = inputs_template[0]
      x = inputs_template[1]
  
      c_shape = c.shape
      x_shape = x.shape
      if self.grad_grad_inputs[0] is True:
          grad_grad_in.append(_shaped_random(c_shape, c.dtype))
      else:
          grad_grad_in.append(None)
  
      if self.grad_grad_inputs[1] is True:
          grad_grad_in.append(_shaped_random(x_shape, x.dtype))
      else:
          grad_grad_in.append(None)
      return tuple(grad_grad_in)
  
imports: import unittest
  import numpy
  import six
  from chainer.backends import cuda
  import chainer.functions
  from chainer.functions.rnn import lstm
  from chainer import gradient_check
  from chainer import testing
  from chainer.testing import backend
label_desc: Use image node_id 6 for calling the LSTMTestBase obj's underlying member method code with example usage: obj.generate_grad_grad_inputs(inputs_template) and returns: tuple