class_docstr: This Enum represents what does varying axis dimension mean.
  For example, does this dimension correspond to width, batch, time, etc.
  The "Dimension" and "Channel" kinds are the same and used to represent
  a general axis. "Any" axis will accept any axis kind fed to it.
class_docstr_tok: ["This","Enum","represents","what","does","varying","axis","dimension","mean",".","For","example",",","does","this","dimension","correspond","to","width",",","batch",",","time",",","etc",".","The","``","Dimension","''","and","``","Channel","''","kinds","are","the","same","and","used","to","represent","a","general","axis",".","``","Any","''","axis","will","accept","any","axis","kind","fed","to","it","."]
docstr: Returns AxisKind instance based on short string representation
docstr_tok: ["Returns","AxisKind","instance","based","on","short","string","representation"]
code: def from_str(label):
      """Returns AxisKind instance based on short string representation"""
      _label = label.lower().strip()
      if _label == "b" or _label == "n" or _label == "batch":
          return AxisKind.Batch
      elif (
          _label == "t"
          or _label == "time"
          or (len(_label) > 2 and _label.startswith("t_"))
      ):
          return AxisKind.Time
      elif _label == "d" or _label == "c" or _label == "channel":
          return AxisKind.Dimension
      elif _label == "w" or _label == "width":
          return AxisKind.Width
      elif _label == "h" or _label == "height":
          return AxisKind.Height
      elif _label == "s" or _label == "singleton":
          return AxisKind.Singleton
      elif _label == "seq" or _label == "sequence":
          return AxisKind.Sequence
      elif _label == "flowgroup":
          return AxisKind.FlowGroup
      elif _label == "any":
          return AxisKind.Any
      else:
          raise ValueError(f"Can't create AxisKind from {label}")
  
file_path: NeMo/nemo/core/neural_types/axes.py
imports: from enum import Enum
  from typing import Optional
label_desc: Use image node_id 4 for calling the AxisKind obj's underlying member method code with example usage: obj.from_str(label) and returns: AxisKind, AxisKind, AxisKind, AxisKind, AxisKind, AxisKind, AxisKind, AxisKind, AxisKind