original_docstring: 
          Load from a Mitsuba scene file as PyTorch tensors.
      
docstring: Load from a Mitsuba scene file as PyTorch tensors.
docstring_tokens: Load from a Mitsuba scene file as PyTorch tensors .
code: def load_mitsuba(filename):
      """
          Load from a Mitsuba scene file as PyTorch tensors.
      """
  
      tree = etree.parse(filename)
      root = tree.getroot()
      cwd = os.getcwd()
      os.chdir(os.path.dirname(filename))
      ret = parse_scene(root)
      os.chdir(cwd)
      return ret
code_tokens: def load_mitsuba ( filename ) : tree = etree . parse ( filename ) root = tree . getroot ( ) cwd = os . getcwd ( ) os . chdir ( os . path . dirname ( filename ) ) ret = parse_scene ( root ) os . chdir ( cwd ) return ret
short_docstring: Load from a Mitsuba scene file as PyTorch tensors.
short_docstring_tokens: Load from a Mitsuba scene file as PyTorch tensors .
comment: """
          Load from a Mitsuba scene file as PyTorch tensors.
      """