class_docstr: Modified from Partial-FC
class_docstr_tok: ["Modified","from","Partial-FC"]
code: def sample(self, total_label):
      index_positive = (self.class_start <= total_label) & (
          total_label < self.class_start + self.num_local
      )
      total_label[~index_positive] = -1
      total_label[index_positive] -= self.class_start
      return index_positive
  
file_path: insightface/recognition/vpl/vpl.py
imports: import logging
  import os
  import torch
  import torch.distributed
  from torch.nn import Module
  from torch.nn.functional import normalize, linear
  from torch.nn.parameter import Parameter
label_desc: Use image node_id 3 for calling the VPL obj's underlying member method code with example usage: obj.sample(total_label) and returns: index_positive