def METHOD_NAME(self):
    self.config["name"] = "test_perplexity"
    self.cls_num = 10
    self.shape = (5, 20, self.cls_num)
    self.label_shape = (5, 20)
    self.metrics = Perplexity(**self.config)
    self.np_metrics = NpPerplexity()