class_docstr: Custom container for layer registry functions.
class_docstr_tok: ["Custom","container","for","layer","registry","functions","."]
docstr: Inserts a layer registry function into the internal dictionaries.
docstr_tok: ["Inserts","a","layer","registry","function","into","the","internal","dictionaries","."]
code: def insert(
      self,
      layer_class: Type[tf.keras.layers.Layer],
      layer_registry_function: type_aliases.RegistryFunction,
  ):
      """Inserts a layer registry function into the internal dictionaries."""
      layer_key = hash(layer_class)
      self._layer_class_dict[layer_key] = layer_class
      self._registry[layer_key] = layer_registry_function
  
file_path: privacy/tensorflow_privacy/privacy/fast_gradient_clipping/layer_registry.py
imports: from typing import Type
  import tensorflow
  from tensorflow_privacy.privacy.fast_gradient_clipping import type_aliases
  from tensorflow_privacy.privacy.fast_gradient_clipping.registry_functions.dense import dense_layer_computation
  from tensorflow_privacy.privacy.fast_gradient_clipping.registry_functions.embedding import embedding_layer_computation
label_desc: Use image node_id 4 for calling the LayerRegistry obj's underlying member method code with example usage: obj.insert(layer_class, layer_registry_function) without return types