class_docstr: Image type returned by the agent. Behaves as a PIL.Image.
class_docstr_tok: ["Image","type","returned","by","the","agent",".","Behaves","as","a","PIL.Image","."]
docstr: Returns the "raw" version of that object. In the case of an AgentImage, it is a PIL.Image.
docstr_tok: ["Returns","the","``","raw","''","version","of","that","object",".","In","the","case","of","an","AgentImage",",","it","is","a","PIL.Image","."]
code: def to_raw(self):
      """
      Returns the "raw" version of that object. In the case of an AgentImage, it is a PIL.Image.
      """
      if self._raw is not None:
          return self._raw
  
      if self._path is not None:
          self._raw = Image.open(self._path)
          return self._raw
  
imports: import os
  import pathlib
  import tempfile
  import uuid
  import numpy
  from ..utils import is_soundfile_availble, is_torch_available, is_vision_available, logging
label_desc: Use image node_id 3 for calling the AgentImage obj's underlying member method code with example usage: obj.to_raw() and returns: self, self