code: def names_inceptions(
      k, first_block, omit_first=False, pool_last=False, resnet=False
  ):
      names = []
      postfix = ["concat", "out" if resnet else "concat"]
      for i in range(3):
          first_char = 98 if omit_first is True and i == 0 else 97
          names += [
              "block%d%c/%s:0"
              % (i + first_block, j + first_char, postfix[j > 0])
              for j in range(k[i])
          ]
          if pool_last is True and i < 2:
              names[-1] = "pool%d/MaxPool:0" % (i + first_block)
      return names
  
file_path: tensornets/tensornets/middles.py
imports: from __future__ import absolute_import
  from .version_utils import tf_equal_to
  from .version_utils import tf_later_than
label_desc: Use image node_id 1 for calling a global function with example usage: names_inceptions(k, first_block, omit_first, pool_last, resnet) and returns: names