code: def test_linear_is_half(self):
      m = nn.Linear(self.h, self.h)
      f = ft.partial(F.linear, weight=m.weight, bias=m.bias)
      run_layer_test(self, [m, f], ALWAYS_HALF, (self.b, self.h))
  
imports: import unittest
  import functools
  import itertools
  from apex import amp
  import torch
  from torch import nn
  import torch.nn.functional
  from utils import common_init, HALF, FLOAT, ALWAYS_HALF, ALWAYS_FLOAT, MATCH_INPUT
label_desc: Use image node_id 3 for calling the TestBasicCasts obj's underlying member method code with example usage: obj.test_linear_is_half() without return types