code: def get_value_index(self, indices):
          
          size = self['size'] if self.get('size') else self['dimension']['size']
          ndims = len(size)
          mult = 1
          num = 0
          for idx, dim in enumerate(size):
              mult *= size[ndims - idx] if (idx > 0) else 1
              num += mult * indices[ndims - idx - 1]
          return num
docs: Converts a list of dimensions’ indices into a numeric value index.
  
          Args:
              indices(list): list of dimension's indices.
  
          Returns:
             num(int): numeric value index.