code: def __init__(self, use_gpu=False, use_mkldnn=False):
      # 设置模型路径
      self.model_path = os.path.join(
          self.directory, "animegan_v2_hayao_99", "model"
      )
  
      # 加载模型
      self.model = InferenceModel(
          modelpath=self.model_path,
          use_gpu=use_gpu,
          use_mkldnn=use_mkldnn,
      )
  
      self.model.eval()
  
file_path: PaddleHub/modules/image/Image_gan/style_transfer/animegan_v2_hayao_99/module.py
imports: import os
  from .model import InferenceModel
  from .processor import base64_to_cv2
  from .processor import cv2_to_base64
  from .processor import Processor
  from paddlehub.module.module import moduleinfo
  from paddlehub.module.module import serving
label_desc: Use image node_id 1 to create a new Animegan_V2_Hayao_99 object  with example: obj = Animegan_V2_Hayao_99(use_gpu, use_mkldnn)