code: def from_esr_anime(
      cls,
      device: Optional[str] = None,
      *,
      use_amp: bool = False,
      use_half: bool = False,
  ) -> "TranslatorAPI":
      m = esr_anime()
      return cls.from_pipeline(
          m, device, use_amp=use_amp, use_half=use_half
      )
  
file_path: carefree-learn/cflearn/api/cv/translator.py
imports: import torch
  import torch.nn.functional
  from PIL import Image
  from torch import Tensor
  from typing import Tuple
  from typing import Union
  from typing import Optional
  from cftool.cv import read_image
  from cftool.cv import save_images
  from ..utils import APIMixin
  from ...zoo import DLZoo
  from ...zoo.core import TPipeline
  from ...misc.toolkit import eval_context
label_desc: Use image node_id 3 for calling the TranslatorAPI obj's underlying member method code with example usage: obj.from_esr_anime(cls, device) and returns: cls