code: def update_kv_cache_selective_batching(
      self,
      cur_seq_ids: List[int],
      kv_cache,
      layer: int,
      kv_cache_size_1: int,
  ) -> None:
      for i in range(layer):
          for j in range(len(cur_seq_ids)):
              kv_cache[i][0][cur_seq_ids[j]] = self.last_kv_cache[i][j][
                  0
              ]
              kv_cache[i][1][cur_seq_ids[j]] = self.last_kv_cache[i][j][
                  1
              ]
  
imports: import torch
  from torch import nn
  from typing import Optional, Tuple, List, Type, Dict
  from transformers import LlamaConfig
  from bigdl.llm.vllm.sequence import SequenceOutputs, SequenceGroupMetadata
  from bigdl.llm.transformers.models.utils import extend_kv_cache
  from bigdl.llm.vllm.logger import init_logger
label_desc: Use image node_id 8 for calling the BigDLModelForCausalLM obj's underlying member method code with example usage: obj.update_kv_cache_selective_batching(cur_seq_ids, kv_cache, layer, kv_cache_size_1) without return types