code: def _XYAvg():
      """Returns a layer that computes the element-wise average of two arrays."""
      return tl.Fn("XYAvg", lambda x, y: (x + y) / 2.0)
  
file_path: trax/trax/models/reformer/reformer.py
imports: from trax import layers
  from trax.fastmath import numpy
  from trax.models.research import configurable_transformer
label_desc: Use image node_id 10 for calling a global function with example usage: _XYAvg() and returns: tl