docstr: Computes average test accuracy score
docstr_tok: ["Computes","average","test","accuracy","score"]
code: def on_test_epoch_end(self):
      """
      Computes average test accuracy score
      """
      avg_test_acc = torch.stack(self.test_outputs).mean()
      self.log("avg_test_acc", avg_test_acc, sync_dist=True)
      self.test_outputs.clear()
  
imports: import lightning
  import torch
  from torch.nn import functional
  from torch.utils.data import DataLoader, random_split
  from torchmetrics.functional import accuracy
  from torchvision import datasets, transforms
label_desc: Use image node_id 8 for calling the LightningMNISTClassifier obj's underlying member method code with example usage: obj.on_test_epoch_end() without return types