code: def compute(self):
      return torch.FloatTensor([some_constant_metric_value])
  
imports: import numpy
  import torch
  from poutyne import Metric
label_desc: Use image node_id 2 for calling the SomeConstantMetric obj's underlying member method code with example usage: obj.compute() and returns: torch