def METHOD_NAME(run_params, saved_model_dir, session_config,
                    conversion_params):
  """Return a TrtGraphConverter."""
  return trt_convert.TrtGraphConverter(
      input_saved_model_dir=saved_model_dir,
      session_config=session_config,
      max_batch_size=conversion_params.max_batch_size,
      max_workspace_size_bytes=conversion_params.max_workspace_size_bytes,
      precision_mode=conversion_params.precision_mode,
      minimum_segment_size=conversion_params.minimum_segment_size,
      is_dynamic_op=conversion_params.is_dynamic_op,
      maximum_cached_engines=conversion_params.maximum_cached_engines,
      use_calibration=conversion_params.use_calibration,
      use_ev=conversion_params.use_ev)