code: def test_all_hyperparameters(sagemaker_session):
      lda = LDA(
          sagemaker_session=sagemaker_session,
          alpha0=2.2,
          max_restarts=3,
          max_iterations=10,
          tol=3.3,
          **ALL_REQ_ARGS,
      )
      assert lda.hyperparameters() == dict(
          num_topics=str(ALL_REQ_ARGS["num_topics"]),
          alpha0="2.2",
          max_restarts="3",
          max_iterations="10",
          tol="3.3",
      )
  
imports: from __future__ import absolute_import
  import pytest
  from mock import Mock, patch
  from sagemaker import image_uris
  from sagemaker.amazon.lda import LDA, LDAPredictor
  from sagemaker.amazon.amazon_estimator import RecordSet
  from sagemaker.session_settings import SessionSettings
label_desc: Use image node_id 4 for calling a global function with example usage: test_all_hyperparameters(sagemaker_session) without return types