code: def _reshape_model_inputs(
      model_inputs: np.ndarray,
      num_trajectories: int,
      trajectory_size: int,
  ) -> np.ndarray:
      """Reshapes the model inputs' matrix.
  
      Parameters
      ----------
      model_inputs: np.ndarray
          Matrix of model inputs
      num_trajectories: int
          Number of trajectories
      trajectory_size: int
          Number of points in a trajectory
  
      Returns
      -------
      input_matrix: np.ndarray
          Reshaped input matrix.
      """
      num_vars = model_inputs.shape[1]
      input_matrix = model_inputs.reshape(
          num_trajectories, trajectory_size, num_vars
      )
      return input_matrix
  
imports: from typing import Dict, List
  import numpy
  from scipy.stats import norm
  from .None import common_args
  from ..util import read_param_file, compute_groups_matrix, ResultDict, _define_problem_with_groups, _compute_delta, _check_groups
label_desc: Use image node_id 10 for calling a global function with example usage: _reshape_model_inputs(model_inputs, num_trajectories, trajectory_size) and returns: input_matrix