code: def test_hyperparameters_no_model_dir(
      sagemaker_session,
      tensorflow_training_version,
      tensorflow_training_py_version,
  ):
      tf = _build_tf(
          sagemaker_session,
          framework_version=tensorflow_training_version,
          py_version=tensorflow_training_py_version,
          image_uri="tensorflow:latest",
          model_dir=False,
      )
      hyperparameters = tf.hyperparameters()
      assert "model_dir" not in hyperparameters
  
imports: from __future__ import absolute_import
  import json
  import logging
  import os
  from mock import patch, Mock, MagicMock
  from packaging import version
  import pytest
  from sagemaker.estimator import _TrainingJob
  from sagemaker.session_settings import SessionSettings
  from sagemaker.tensorflow import TensorFlow
  from sagemaker.instance_group import InstanceGroup
  from sagemaker.workflow.parameters import ParameterString, ParameterBoolean
  from tests.unit import DATA_DIR
label_desc: Use image node_id 16 for calling a global function with example usage: test_hyperparameters_no_model_dir(sagemaker_session, tensorflow_training_version, tensorflow_training_py_version) without return types