code: def on_finish(self):
      self.context.report_metrics(
          group="inference",
          steps_completed=self.rank,
          metrics={
              "nine_ratio": self.counts[self.rank]["num_nines"]
              / float(self.counts[self.rank]["total"]),
          },
      )
  
file_path: determined/examples/features/inference_mnist_pytorch/inference.py
imports: import os
  from typing import Any
  import filelock
  import torch
  from torchvision import datasets, transforms
  from determined import pytorch
  from determined.experimental import client
  from determined.pytorch import experimental
label_desc: Use image node_id 3 for calling the ExampleInferenceProcessor obj's underlying member method code with example usage: obj.on_finish() without return types