input: from typing import List
  
  
  def predict_linear_regression(model: 'LinearRegressionModel', input_data: List[List[float]]) -> List[List[float]]:
      """ Given an instance of a linear regression model, predict the outputs for a list of input data.
      >>> model = LinearRegressionModel(input_dim=2, output_dim=1)
      >>> model.weights = np.array([[1.0], [2.0]])
      >>> model.bias = np.array([[0.5]])
      >>> predict_linear_regression(model, [[1.0, 2.0], [2.0, 3.0]])
      [[5.5], [8.5]]
      """
output:     import numpy as np
      
      input_data_np = np.array(input_data)
      predictions = np.dot(input_data_np, model.weights) + model.bias
      return predictions.tolist()