code: def _set_spawn_key_and_depth(self):
      self._spawn_key = 2 * self._parent._spawn_key + (
          0 if self._is_left else 1
      )
      self._depth = self._parent._depth + 1
  
imports: import math
  import trampoline
  import warnings
  import numpy
  import torch
  from .None import brownian_base
  from ..settings import LEVY_AREA_APPROXIMATIONS
  from ..types import Scalar, Optional, Tuple, Union, Tensor
label_desc: Use image node_id 9 for calling the _Interval obj's underlying member method code with example usage: obj._set_spawn_key_and_depth() without return types