class_docstr: This class represents axis semantics and (optionally) it's dimensionality
  Args:
      kind (AxisKindAbstract): what kind of axis it is? For example Batch, Height, etc.
      size (int, optional): specify if the axis should have a fixed size. By default it is set to None and you
      typically do not want to set it for Batch and Time
      is_list (bool, default=False): whether this is a list or a tensor axis
class_docstr_tok: ["This","class","represents","axis","semantics","and","(","optionally",")","it","'s","dimensionality","Args",":","kind","(","AxisKindAbstract",")",":","what","kind","of","axis","it","is","?","For","example","Batch",",","Height",",","etc",".","size","(","int",",","optional",")",":","specify","if","the","axis","should","have","a","fixed","size",".","By","default","it","is","set","to","None","and","you","typically","do","not","want","to","set","it","for","Batch","and","Time","is_list","(","bool",",","default=False",")",":","whether","this","is","a","list","or","a","tensor","axis"]
code: def __init__(
      self,
      kind: AxisKindAbstract,
      size: Optional[int] = None,
      is_list=False,
  ):
      if size is not None and is_list:
          raise ValueError(
              "The axis can't be list and have a fixed size"
          )
      self.kind = kind
      self.size = size
      self.is_list = is_list
  
file_path: NeMo/nemo/core/neural_types/axes.py
imports: from enum import Enum
  from typing import Optional
label_desc: Use image node_id 1 to create a new AxisType object from inherited base classes: object with example: obj = AxisType(kind, size, is_list)