code: def _filter_fake_init(cls, init_net, value_info):
      if init_net:
          fake_inits = [
              op
              for op in init_net.op
              if len(op.output) == 1
              and op.output[0] in value_info
              and re.match("GivenTensor.*Fill|ConstantFill", op.type)
          ]
          for fake_init in fake_inits:
              init_net.op.remove(fake_init)
          del fake_inits[:]
          del fake_inits
  
imports: import collections
  import itertools
  import logging
  import re
  from caffe2.python import core
  from onnx import checker, helper, numpy_helper, mapping, GraphProto, NodeProto, TensorProto, OperatorSetIdProto
  from onnx.helper import make_tensor_value_info, make_model
  import numpy
  from caffe2.python.onnx.helper import c2_native_run_net
  import caffe2.python._import_c_extension
label_desc: Use image node_id 10 for calling the Caffe2Frontend obj's underlying member method code with example usage: obj._filter_fake_init(cls, init_net, value_info) without return types