class_docstr: Estimate memory with chunk
class_docstr_tok: ["Estimate","memory","with","chunk"]
docstr: add active nodes from nodes
docstr_tok: ["add","active","nodes","from","nodes"]
code: def _add_active_nodes_from_list(
      self, active_nodes: List, nodes: List
  ) -> List:
      """
      add active nodes from nodes
      """
      for n in nodes:
          self._add_active_node(n, active_nodes, 1)
  
file_path: ColossalAI/colossalai/autochunk/estimate_memory.py
imports: from typing import Dict, List
  import torch
  from torch.fx.node import Node
  from .utils import NodeMgr, get_node_shape, is_non_memory_node
label_desc: Use image node_id 9 for calling the EstimateMemory obj's underlying member method code with example usage: obj._add_active_nodes_from_list(active_nodes, nodes) without return types