code: def create_entrypoint(m: Model):
      def _ep(**kwargs):
          params = replace(m.params, **kwargs)
          return m.constructor(arch=m.arch, **asdict(params))
  
      return _ep
  
file_path: DALI/docs/examples/use_cases/pytorch/efficientnet/image_classification/models/model.py
imports: from dataclasses import dataclass, asdict, replace
  from .common import SequentialSqueezeAndExcitationTRT, SequentialSqueezeAndExcitation, SqueezeAndExcitation, SqueezeAndExcitationTRT
  from typing import Optional, Callable
  import os
  import torch
  import argparse
  from functools import partial
label_desc: Use image node_id 3 for calling a global function with example usage: create_entrypoint(m) and returns: _ep, m