code: def test_torch_Poisson():
      from bigdl.orca.learn.pytorch.pytorch_metrics import Poisson
  
      pred = torch.tensor([[1, 1], [0, 0]])
      target = torch.tensor([[0, 1], [0, 0]])
      poisson = Poisson()
      poisson(pred, target)
      assert abs(poisson.compute() - 0.49999997) < 1e-6
  
file_path: BigDL/python/orca/test/bigdl/orca/learn/test_metrics.py
imports: import torch
  import pytest
label_desc: Use image node_id 12 for calling a global function with example usage: test_torch_Poisson() without return types