code: def test_builder_eval(self):
      x_val = random_gen(shape=(2, 2), rand_min=-37, rand_max=64)
      weight_val = random_gen(shape=(2, 2), rand_min=-91, rand_max=84)
      bias_val = random_gen(shape=(2,), rand_min=0.0, rand_max=9.0)
      v = mb.linear(x=x_val, weight=weight_val, bias=bias_val)
      assert is_close(np.matmul(x_val, weight_val.T) + bias_val, v.val)
  
file_path: turicreate/src/external/coremltools_wrap/coremltools/coremltools/converters/mil/mil/ops/tests/test_linear.py
imports: from coremltools.converters.mil import testing_reqs
  from coremltools.converters.mil.testing_reqs import *
  from .testing_utils import run_compare_builder
label_desc: Use image node_id 2 for calling the TestLinear obj's underlying member method code with example usage: obj.test_builder_eval() without return types