code: def test_gru_is_half(self):
      configs = [(1, False), (2, False), (2, True)]
      for layers, bidir in configs:
          rnn = nn.GRU(
              input_size=self.h,
              hidden_size=self.h,
              num_layers=layers,
              bidirectional=bidir,
          )
          self.run_rnn_test(rnn, layers, bidir)
  
imports: import unittest
  from apex import amp
  import random
  import torch
  from torch import nn
  from utils import common_init, HALF
label_desc: Use image node_id 5 for calling the TestRnns obj's underlying member method code with example usage: obj.test_gru_is_half() without return types