docstr: Get a value by key. Use ``/`` to go navigate into child elements.
  
  Arguments:
      key (str): Key of the value
docstr_tok: ["Get","a","value","by","key",".","Use","``","\/","``","to","go","navigate","into","child","elements",".","Arguments",":","key","(","str",")",":","Key","of","the","value"]
code: def get_value(self, key: str):
      """
      Get a value by key. Use ``/`` to go navigate into child elements.
  
      Arguments:
          key (str): Key of the value
      """
      parts = key.split("/")
  
      if len(parts) == 1:
          return self._values[parts[0]]
  
      assert len(parts) == 2
      value = self._values[parts[0]]
      key = parts[1]
  
      parts = key.split(".")
      for p in parts:
          if isinstance(value, tuple) or isinstance(value, list):
              value = value[int(p)]
          else:
              value = value[p]
  
      return value
  
imports: from typing import Callable, Dict, List, TYPE_CHECKING
  from labml.internal.util.strings import is_pattern_match
label_desc: Use image node_id 1 for calling the DeepValueCollection obj's underlying member method code with example usage: obj.get_value(key) and returns: value, self