docstr: Returns an index-suffixed unique name for the given prefix.
  This is used for auto-generating layer names based on the type-prefix.
docstr_tok: ["Returns","an","index-suffixed","unique","name","for","the","given","prefix",".","This","is","used","for","auto-generating","layer","names","based","on","the","type-prefix","."]
code: def get_unique_name(self, prefix):
      """Returns an index-suffixed unique name for the given prefix.
      This is used for auto-generating layer names based on the type-prefix.
      """
      ident = (
          sum(
              t.startswith(prefix) for t, _ in list(self.layers.items())
          )
          + 1
      )
      return "%s_%d" % (prefix, ident)
  
imports: from __future__ import print_function
  from builtins import str
  from past.builtins import basestring
  from builtins import object
  import sys
  import os
  import math
  import numpy
label_desc: Use image node_id 6 for calling the Network obj's underlying member method code with example usage: obj.get_unique_name(prefix) and returns: unknown