code: def _time_sdeint_adjoint(sde, y0, ts, bm):
      now = time.perf_counter()
      sde.zero_grad()
      y0 = y0.clone().requires_grad_(True)
      ys = torchsde.sdeint_adjoint(sde, y0, ts, bm, method="euler")
      ys.sum().backward()
      return time.perf_counter() - now
  
imports: import argparse
  import logging
  import os
  import time
  import numpy.random
  import torch
  import torchsde
  from diagnostics import utils
label_desc: Use image node_id 7 for calling a global function with example usage: _time_sdeint_adjoint(sde, y0, ts, bm) and returns: unknown