class_docstr: Implementation of https://arxiv.org/pdf/1801.07698.pdf
class_docstr_tok: ["Implementation","of","https",":","\/\/arxiv.org\/pdf\/1801.07698.pdf"]
code: def cast_types(self, dtype, device):
      self.W.data = c_f.to_device(
          self.W.data, device=device, dtype=dtype
      )
  
file_path: pytorch-metric-learning/src/pytorch_metric_learning/losses/arcface_loss.py
imports: import numpy
  import torch
  from ..utils import common_functions
  from .large_margin_softmax_loss import LargeMarginSoftmaxLoss
label_desc: Use image node_id 3 for calling the ArcFaceLoss obj's underlying member method code with example usage: obj.cast_types(dtype, device) without return types