code: def _get_values(self, data_blob, dtype_enum, shape_string):
      
      buf = np.frombuffer(data_blob, dtype=tf.DType(dtype_enum).as_numpy_dtype)
      return buf.reshape([int(i) for i in shape_string.split(',')]).tolist()
docs: Obtains values for histogram data given blob and dtype enum.
      Args:
        data_blob: The blob obtained from the database.
        dtype_enum: The enum representing the dtype.
        shape_string: A comma-separated string of numbers denoting shape.
      Returns:
        The histogram values as a list served to the frontend.