code: def test_names(self):
      layer = tl.L2Loss()
      self.assertEqual("L2Loss_in3", str(layer))
      layer = tl.Accuracy()
      self.assertEqual("Accuracy_in3", str(layer))
      layer = tl.SequenceAccuracy()
      self.assertEqual("SequenceAccuracy_in3", str(layer))
      layer = tl.BinaryCrossEntropyLoss()
      self.assertEqual("BinaryCrossEntropyLoss_in3", str(layer))
      layer = tl.CrossEntropyLoss()
      self.assertEqual("CrossEntropyLoss_in3", str(layer))
      layer = tl.BinaryCrossEntropySum()
      self.assertEqual("BinaryCrossEntropySum_in3", str(layer))
      layer = tl.CrossEntropySum()
      self.assertEqual("CrossEntropySum_in3", str(layer))
  
imports: from absl.testing import absltest
  import numpy
  import trax.layers
label_desc: Use image node_id 21 for calling the MetricsTest obj's underlying member method code with example usage: obj.test_names() without return types