code: def repeat(inputs, repetitions, layer, *args, **kwargs):
      outputs = inputs
      for i in range(repetitions):
          outputs = layer(outputs, *args, **kwargs)
      return outputs
  
imports: from __future__ import division, print_function, absolute_import
  import six
  import string
  import random
  import numpy
  import tensorflow.compat.v1
  from tensorflow.python import pywrap_tensorflow
  import tflearn.variables
label_desc: Use image node_id 32 for calling a global function with example usage: repeat(inputs, repetitions, layer) and returns: outputs