code: def block(x, scope, *, past, hparams):
      with tf.compat.v1.variable_scope(scope):
          nx = get_value(x.shape[-1])
          a, present = attn(
              norm(x, "ln_1"), "attn", nx, past=past, hparams=hparams
          )
          x = x + a
          m = mlp(norm(x, "ln_2"), "mlp", nx * 4, hparams=hparams)
          x = x + m
          return x, present
  
imports: import numpy
  import tensorflow
label_desc: Use image node_id 12 for calling a global function with example usage: block(x, scope) and returns: x,  present