class_docstr: Snake layer to learn periodic functions with the trainable `frequency` scalar.
  
  See [Neural Networks Fail to Learn Periodic Functions and How to Fix It](https://arxiv.org/abs/2006.08195).
  
  Args:
      frequency_initializer: Initializer for the `frequency` scalar.
code: def get_config(self):
      config = {
          "frequency_initializer": tf.keras.initializers.serialize(
              self.frequency_initializer
          ),
      }
      base_config = super().get_config()
      return {**base_config, **config}
  
file_path: addons/tensorflow_addons/layers/snake.py
imports: import tensorflow
  from typeguard import typechecked
  from tensorflow_addons.activations.snake import snake
  from tensorflow_addons.utils import types
label_desc: Use image node_id 3 for calling the Snake obj's underlying member method code with example usage: obj.get_config() and returns: dict