code: def _init_sequence_info(self, ctx_id: int, name: str, val):
      # this method is used in the `run.track()`, so please use only write-only instructions
      seq_info = self.sequence_infos[ctx_id, name]
      assert not seq_info.initialized
  
      # new SequenceInfo, initialize
      # the subtree().array().allocate() method is write-only
      seq_info.count = 0
      seq_info.record_max_length = 0
      seq_info.dtype = None
      seq_info.version = (
          2 if get_object_typename(val) in ("int", "float") else 1
      )
      seq_info.step_hash_fn = STEP_HASH_FUNCTIONS[seq_info.version]
  
      series_tree = self.series_run_trees[seq_info.version]
      if seq_info.version == 2:
          seq_info.step_view = (
              series_tree.subtree((ctx_id, name))
              .array("step", dtype="int64")
              .allocate()
          )
          seq_info.max = float("-inf")
          seq_info.min = float("inf")
      seq_info.val_view = (
          series_tree.subtree((ctx_id, name)).array("val").allocate()
      )
      seq_info.epoch_view = (
          series_tree.subtree((ctx_id, name))
          .array("epoch", dtype="int64")
          .allocate()
      )
      seq_info.time_view = (
          series_tree.subtree((ctx_id, name))
          .array("time", dtype="int64")
          .allocate()
      )
      seq_info.initialized = True
      return seq_info
  
imports: import datetime
  import os
  import logging
  from collections import defaultdict
  from copy import deepcopy
  from typing import Dict, Tuple, TYPE_CHECKING
  import pytz
  from aim.sdk.configs import AIM_ENABLE_TRACKING_THREAD
  from aim.sdk.num_utils import is_number, convert_to_py_number
  from aim.sdk.utils import get_object_typename, check_types_compatibility
  from aim.storage.hashing import hash_auto
  from aim.storage.context import Context
  from aim.storage.object import CustomObject
  from aim.storage.types import AimObject
label_desc: Use image node_id 8 for calling the RunTracker obj's underlying member method code with example usage: obj._init_sequence_info(ctx_id, name, val) and returns: seq_info