class_docstr: Base class for all pytorch metrics
class_docstr_tok: ["Base","class","for","all","pytorch","metrics"]
code: def compute(self):
      pass
  
imports: import torch
  from abc import ABC, abstractmethod
label_desc: Use image node_id 2 for calling the PytorchMetric obj's underlying member method code with example usage: obj.compute() without return types