code: def test_conv_bias(self):
      with torch.cuda.amp.autocast(dtype=torch.half):
          out = ConvBias(
              self.x,
              self.conv1.weight,
              self.conv1.bias.reshape(1, -1, 1, 1),
              self.conv_pad,
              self.conv_stride,
          )
          loss = (out.float() ** 2).sum() / out.numel()
      loss.backward()
  
      with torch.cuda.amp.autocast(dtype=torch.half):
          out_ = self.conv1_(self.x_)
          loss_ = (out_**2).sum() / out_.numel()
      loss_.backward()
  
      torch.testing.assert_close(
          out, out_, atol=1e-3, rtol=1e-3, equal_nan=True
      )
      torch.testing.assert_close(
          self.conv1_.bias.grad,
          self.conv1.bias.grad,
          atol=1e-3,
          rtol=1e-3,
          equal_nan=True,
      )
      torch.testing.assert_close(
          self.conv1_.weight.grad,
          self.conv1.weight.grad,
          atol=1e-3,
          rtol=1e-3,
          equal_nan=True,
      )
      torch.testing.assert_close(
          self.x_.grad,
          self.x.grad,
          atol=1e-3,
          rtol=1e-3,
          equal_nan=True,
      )
  
file_path: apex/apex/contrib/test/conv_bias_relu/test_conv_bias_relu.py
imports: import copy
  import math
  import random
  import unittest
  import torch
  import torch.nn.functional
label_desc: Use image node_id 3 for calling the FusedDenseTest obj's underlying member method code with example usage: obj.test_conv_bias() without return types