code: def B5():
      def diffeq(t, y):
          dy0 = y[1] * y[2]
          dy1 = -y[0] * y[2]
          dy2 = -0.51 * y[0] * y[1]
          return torch.stack([dy0, dy1, dy2])
  
      def init():
          return torch.tensor(0.0), torch.tensor([0.0, 1.0, 1.0])
  
      return diffeq, init, None
  
imports: import math
  import torch
label_desc: Use image node_id 10 for calling a global function with example usage: B5() and returns: diffeq,  init,  None, torch, torch,  torch