code: def get_tensor_shape(self, batch_size: int, seq_length: int) -> Tuple:
      if self.segment:
          return 2, batch_size, seq_length
      else:
          return batch_size, seq_length
  
file_path: Kashgari/kashgari/processors/abc_processor.py
imports: from abc import ABC
  from typing import Dict, List, Optional, Any, Tuple
  import numpy
  from kashgari.generators import CorpusGenerator
  from kashgari.types import TextSamplesVar
label_desc: Use image node_id 7 for calling the ABCProcessor obj's underlying member method code with example usage: obj.get_tensor_shape(batch_size, seq_length) and returns: int,  batch_size,  seq_length, batch_size,  seq_length