code: def reset_queue(self):
      self.register_buffer(
          "embedding_memory",
          torch.zeros(self.memory_size, self.embedding_size),
      )
      self.register_buffer(
          "label_memory", torch.zeros(self.memory_size).long()
      )
      self.has_been_filled = False
      self.queue_idx = 0
  
file_path: pytorch-metric-learning/src/pytorch_metric_learning/losses/cross_batch_memory.py
imports: import torch
  from ..utils import common_functions
  from ..utils import loss_and_miner_utils
  from ..utils.module_with_records import ModuleWithRecords
  from .base_loss_wrapper import BaseLossWrapper
label_desc: Use image node_id 7 for calling the CrossBatchMemory obj's underlying member method code with example usage: obj.reset_queue() without return types