class_docstr: Base test class for TensorFlow Lite 2.x model tests.
class_docstr_tok: ["Base","test","class","for","TensorFlow","Lite","2.x","model","tests","."]
code: def _getMatMulModelWithSmallWeights(self):
      class MatMulModelWithSmallWeights(autotrackable.AutoTrackable):
          """MatMul model with small weights and relatively large biases."""
  
          def __init__(self):
              self.weight = constant_op.constant(
                  [[1e-3, -1e-3], [-2e-4, 2e-4]],
                  shape=(2, 2),
                  dtype=dtypes.float32,
              )
              self.bias = constant_op.constant(
                  [1.28, 2.55], shape=(2,), dtype=dtypes.float32
              )
  
          @def_function.function
          def matmul(self, x):
              return x @ self.weight + self.bias
  
      return MatMulModelWithSmallWeights()
  
imports: import os
  from absl.testing import parameterized
  import numpy
  import tensorflow
  from tensorflow.lite.python.interpreter import Interpreter
  from tensorflow.python.eager import def_function
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import tensor_spec
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.trackable import autotrackable
label_desc: Use image node_id 7 for calling the ModelTest obj's underlying member method code with example usage: obj._getMatMulModelWithSmallWeights() and returns: MatMulModelWithSmallWeights, unknown