class_docstr: A scalar with different values at different points in the designspace.
code: def model(self, model_cache=None, avar=None):
      if model_cache is not None:
          key = tuple(self.values.keys())
          if key in model_cache:
              return model_cache[key]
      locations = [
          dict(self._normalized_location(k)) for k in self.values.keys()
      ]
      if avar is not None:
          mapping = avar.segments
          locations = [
              {
                  k: piecewiseLinearMap(v, mapping[k])
                  if k in mapping
                  else v
                  for k, v in location.items()
              }
              for location in locations
          ]
      m = VariationModel(locations)
      if model_cache is not None:
          model_cache[key] = m
      return m
  
file_path: catboost/contrib/python/fonttools/fontTools/feaLib/variableScalar.py
imports: from fontTools.varLib.models import VariationModel, normalizeValue, piecewiseLinearMap
label_desc: Use image node_id 11 for calling the VariableScalar obj's underlying member method code with example usage: obj.model(model_cache, avar) and returns: m, model_cache