code: def __init__(
      self,
      embedding_size,
      num_classes,
      cfg,
      partial_fc=False,
      bias=False,
  ):
      super(FC7, self).__init__()
      self.weight = flow.nn.Parameter(
          flow.empty(num_classes, embedding_size)
      )
      flow.nn.init.normal_(self.weight, mean=0, std=0.01)
  
      self.partial_fc = partial_fc
  
      size = flow.env.get_world_size()
      num_local = (cfg.num_classes + size - 1) // size
      self.num_sample = int(num_local * cfg.sample_rate)
      self.total_num_sample = self.num_sample * size
  
imports: import oneflow
  from oneflow.nn.parallel import DistributedDataParallel
  from utils.ofrecord_data_utils import OFRecordDataLoader, SyntheticDataLoader
  from utils.utils_logging import AverageMeter
  from utils.utils_callbacks import CallBackVerification, CallBackLogging, CallBackModelCheckpoint
  from backbones import get_model
  from graph import TrainGraph, EvalGraph
  from utils.losses import CrossEntropyLoss_sbp
  import logging
label_desc: Use image node_id 1 to create a new FC7 object from inherited base classes: flow.nn with example: obj = FC7(embedding_size, num_classes, cfg, partial_fc, bias)