class_docstr: Arguments:
      threshold (float): Threshold for classifier confidence score
class_docstr_tok: ["Arguments",":","threshold","(","float",")",":","Threshold","for","classifier","confidence","score"]
code: def to_device(self, device: str):
      try_to_import_facenet_pytorch()
      import torch
      from facenet_pytorch import MTCNN
  
      gpu = "cuda:{}".format(device)
      self.model = MTCNN(device=torch.device(gpu))
      return self
  
file_path: evadb/evadb/functions/face_detector.py
imports: from typing import List
  import numpy
  import pandas
  from evadb.functions.abstract.abstract_function import AbstractClassifierFunction
  from evadb.functions.gpu_compatible import GPUCompatible
  from evadb.utils.generic_utils import try_to_import_facenet_pytorch, try_to_import_torch, try_to_import_torchvision
  from evadb.utils.logging_manager import logger
label_desc: Use image node_id 3 for calling the FaceDetector obj's underlying member method code with example usage: obj.to_device(device) and returns: self