code: def push(self, num_consumed_samples):
      self.deque.append(num_consumed_samples)
      self.count += 1
  
file_path: fastNLP/fastNLP/core/samplers/utils.py
imports: from array import array
  from typing import Sequence
  from collections import deque
label_desc: Use image node_id 3 for calling the NumConsumedSamplesArray obj's underlying member method code with example usage: obj.push(num_consumed_samples) without return types