class_docstr: Layer that computes a matching matrix between samples in two tensors.
  :param normalize: Whether to L2-normalize samples along the
      dot product axis before taking the dot product.
      If set to True, then the output of the dot product
      is the cosine proximity between the two samples.
  :param matching_type: the similarity function for matching
  :param kwargs: Standard layer keyword arguments.
  Examples:
      >>> import delta
      >>> layer = delta.layers.MatchingLayer(matching_type='dot',
      ...                                 normalize=True)
      >>> num_batch, left_len, right_len, num_dim = 5, 3, 2, 10
      >>> layer.build([[num_batch, left_len, num_dim],
      ...              [num_batch, right_len, num_dim]])
class_docstr_tok: ["Layer","that","computes","a","matching","matrix","between","samples","in","two","tensors",".",":","param","normalize",":","Whether","to","L2-normalize","samples","along","the","dot","product","axis","before","taking","the","dot","product",".","If","set","to","True",",","then","the","output","of","the","dot","product","is","the","cosine","proximity","between","the","two","samples",".",":","param","matching_type",":","the","similarity","function","for","matching",":","param","kwargs",":","Standard","layer","keyword","arguments",".","Examples",":",">",">",">","import","delta",">",">",">","layer","=","delta.layers.MatchingLayer","(","matching_type='dot","'",",","...","normalize=True",")",">",">",">","num_batch",",","left_len",",","right_len",",","num_dim","=","5",",","3",",","2",",","10",">",">",">","layer.build","(","[","[","num_batch",",","left_len",",","num_dim","]",",","...","[","num_batch",",","right_len",",","num_dim","]","]",")"]
docstr: Get the config dict of MatchingLayer.
docstr_tok: ["Get","the","config","dict","of","MatchingLayer","."]
code: def get_config(self) -> dict:
      """Get the config dict of MatchingLayer."""
      config = {
          "normalize": self._normalize,
          "matching_type": self._matching_type,
      }
      base_config = super(MatchingLayer, self).get_config()
      return dict(list(base_config.items()) + list(config.items()))
  
file_path: delta/delta/layers/match_pyramid.py
imports: import typing
  import delta.compat
  from delta.layers.base_layer import Layer
label_desc: Use image node_id 6 for calling the MatchingLayer obj's underlying member method code with example usage: obj.get_config() and returns: dict