code: def legacy_export_strategy(
      eval_input_receiver_fn: Callable[[], Any],
      serving_input_receiver_fn: Optional[
          Callable[[], tf_estimator.export.ServingInputReceiver]
      ] = None,
      exports_to_keep: Optional[int] = 5,
      export_eval_savedmodel_fn: Optional[Callable[..., Any]] = None,
  ) -> Any:
      """Creates legacy export strategy using the given export_fn."""
      del eval_input_receiver_fn
      del serving_input_receiver_fn
      del exports_to_keep
      del export_eval_savedmodel_fn
      raise NotImplementedError(
          "legacy ExportStrategy no longer supported"
      )
  
file_path: model-analysis/tensorflow_model_analysis/eval_saved_model/util.py
imports: from typing import Any, Callable, List, Optional, Tuple
  import numpy
  import tensorflow
  from tensorflow import estimator
  from tensorflow_model_analysis.api import types
  from tensorflow_model_analysis.utils import util
  from tensorflow.core.example import example_pb2
label_desc: Use image node_id 13 for calling a global function with example usage: legacy_export_strategy(eval_input_receiver_fn, serving_input_receiver_fn, exports_to_keep, export_eval_savedmodel_fn) without return types