code: def add_ops_to_accumulate_pred(self, net):
      # This adds operators to accumulate predictions/labels/weights. The
      # accumulated data can later be used to compute calibration or for other
      # purpose. Default layer implementation is completely matching eval
      # layer implementation.
      self.add_eval_ops(net)
  
imports: import logging
  from collections import namedtuple
  import numpy
  from caffe2.proto import caffe2_pb2
  from caffe2.python import core, schema, scope, utils, workspace
  from caffe2.python.layers.tags import TagContext
label_desc: Use image node_id 21 for calling the ModelLayer obj's underlying member method code with example usage: obj.add_ops_to_accumulate_pred(net) without return types