code: def get(tag_like: str | Tag) -> bentoml.Model:
      """
      Get the BentoML model with the given tag.
  
      Args:
          tag_like: The tag of the model to retrieve from the model store.
  
      Returns:
          :obj:`~bentoml.Model`: A BentoML :obj:`~bentoml.Model` with the matching tag.
  
      Example:
  
      .. code-block:: python
  
         import bentoml
         # target model must be from the BentoML model store
         model = bentoml.keras.get("keras_resnet50")
      """
      model = bentoml.models.get(tag_like)
      if model.info.module not in (MODULE_NAME, __name__):
          raise NotFound(
              f"Model {model.tag} was saved with module {model.info.module}, not loading with {MODULE_NAME}."
          )
      return model
  
imports: from __future__ import annotations
  import functools
  import logging
  import typing
  from types import ModuleType
  from typing import TYPE_CHECKING
  import attr
  import bentoml
  from bentoml import Runnable
  from bentoml import Tag
  from bentoml.exceptions import MissingDependencyException
  from bentoml.exceptions import NotFound
  from bentoml.models import ModelContext
  from ..models.model import ModelSignature
  from ..models.model import PartialKwargsModelOptions
  from ..runner.utils import Params
  from ..types import LazyType
  from .utils.tensorflow import get_tf_version
label_desc: Use image node_id 1 for calling a global function with example usage: get(tag_like) and returns: model