code: def register_actor_implementation(
      actor_cls: Type[Actor], impl_cls: Type[Actor]
  ):
      _actor_implementation[actor_cls] = impl_cls
  
file_path: mars/mars/oscar/api.py
imports: from urllib.parse import urlparse
  from typing import Any, Dict, Type, Tuple
  from numbers import Number
  from collections import defaultdict
  from .backend import get_backend
  from .context import get_context
  from .core import _Actor, _StatelessActor, ActorRef
label_desc: Use image node_id 2 for calling a global function with example usage: register_actor_implementation(actor_cls, impl_cls) without return types