class_docstr: Tests params, residual capabilities, padding leaks, and output shape.
code: def test_encoder_registry(self):
      encoder_layers = [
          "separable_conv_3x1",
          "separable_conv_5x1",
          "separable_conv_7x1",
          "separable_conv_9x1",
          "separable_conv_11x1",
          "separable_conv_13x1",
          "separable_conv_15x1",
          "standard_conv_1x1",
          "standard_conv_3x1",
          "standard_conv_5x1",
          "depthwise_conv_3x1",
          "depthwise_conv_5x1",
          "depthwise_conv_7x1",
          "dilated_conv_3x1",
          "dilated_conv_5x1",
          "standard_attention",
          "identity",
          "attention_4_heads",
          "attention_16_heads",
          "attention_32_heads",
          "gated_linear_unit",
          "lightweight_conv_3x1_r_1",
          "lightweight_conv_3x1_r_4",
          "lightweight_conv_3x1_r_16",
          "lightweight_conv_5x1_r_1",
          "lightweight_conv_5x1_r_4",
          "lightweight_conv_5x1_r_16",
          "lightweight_conv_7x1_r_1",
          "lightweight_conv_7x1_r_4",
          "lightweight_conv_7x1_r_16",
          "lightweight_conv_15x1_r_1",
          "lightweight_conv_15x1_r_4",
          "lightweight_conv_15x1_r_16",
      ]
      self.assertSameElements(
          encoder_layers, layers.ENCODER_LAYERS.get_layer_names()
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import copy
  import itertools
  from absl.testing import parameterized
  import numpy
  from tensor2tensor.layers import common_attention
  from tensor2tensor.models import transformer
  from tensor2tensor.models.neural_architecture_search import nas_layers
  import tensorflow.compat.v1
label_desc: Use image node_id 1 for calling the LayersTest obj's underlying member method code with example usage: obj.test_encoder_registry() without return types