code: def _make_unique_name(seen, name, min_version=0):
      assert name is not None
      i = min_version
      x = "%s_%d" % (name, i) if i else name
      while x in seen:
          i += 1
          x = "%s_%d" % (name, i)
      seen.add(x)
      return x
  
imports: import copy
  import logging
  import os
  from caffe2.proto import caffe2_pb2
  from caffe2.python import core, workspace
label_desc: Use image node_id 1 for calling a global function with example usage: _make_unique_name(seen, name, min_version) and returns: x