class_docstr: Layer performing a Gated Linear Unit transformation on its input.
  
  See https://arxiv.org/pdf/1612.08083.pdf.
docstr: Call the layer.
docstr_tok: ["Call","the","layer","."]
code: def call(self, context, x, losses=None):
      """Call the layer."""
      return mtf.layers.dense_product(
          x,
          reduced_dims=x.shape.dims[-1:],
          new_dims=x.shape.dims[-1:],
          activation_functions=["linear", "sigmoid"],
          variable_dtype=context.variable_dtype,
          name="glu",
          expert_dims=context.model.ensemble_dims,
      )
  
imports: import gin
  import mesh_tensorflow
  from mesh_tensorflow.transformer import transformer
  from mesh_tensorflow.transformer import transformer_layers
  import tensorflow.compat.v1
label_desc: Use image node_id 1 for calling the GatedLinearUnitLayer obj's underlying member method code with example usage: obj.call(context, x, losses) and returns: mtf