class_docstr: Tests for `pairwise_distance_lib.PairwiseDistance`.
class_docstr_tok: ["Tests","for","`","pairwise_distance_lib.PairwiseDistance","`","."]
docstr: Tests that the name is propagated to the base layer.
docstr_tok: ["Tests","that","the","name","is","propagated","to","the","base","layer","."]
code: def testName(self):
      """Tests that the name is propagated to the base layer."""
      regularizer = pairwise_distance_lib.PairwiseDistance()
      self.assertEqual(regularizer.name, "pairwise_distance")
  
      regularizer = pairwise_distance_lib.PairwiseDistance(
          name="regularizer"
      )
      self.assertEqual(regularizer.name, "regularizer")
  
file_path: neural-structured-learning/neural_structured_learning/keras/layers/pairwise_distance_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import neural_structured_learning.configs
  from neural_structured_learning.keras.layers import pairwise_distance
  import numpy
  from scipy import special
  import tensorflow
  from tensorflow.python.framework import test_util
label_desc: Use image node_id 1 for calling the PairwiseDistanceTest obj's underlying member method code with example usage: obj.testName() without return types