code: def names_darknets(k):
      names = []
      for i in range(4):
          if k[i] > 1:
              names += [
                  "conv%d/%d/lrelu/Maximum:0" % (i + 3, j + 1)
                  for j in range(k[i])
              ]
          else:
              names += ["conv%d/lrelu/Maximum:0" % (i + 3)]
          if i < 3:
              names += ["pool%d/MaxPool:0" % (i + 3)]
      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 6 for calling a global function with example usage: names_darknets(k) and returns: names