deallocate_assistant_response Subroutine

private pure elemental subroutine deallocate_assistant_response(this)

Type Bound

ImageGeneration

Arguments

Type IntentOptional Attributes Name
class(ImageGeneration), intent(inout) :: this

Called by

proc~~deallocate_assistant_response~2~~CalledByGraph proc~deallocate_assistant_response~2 foropenai_ImageGeneration::ImageGeneration%deallocate_assistant_response proc~deallocate_imagegeneration foropenai_ImageGeneration::ImageGeneration%deallocate_ImageGeneration proc~deallocate_imagegeneration->proc~deallocate_assistant_response~2 program~test_imagegeneration test_ImageGeneration program~test_imagegeneration->proc~deallocate_imagegeneration

Source Code

   elemental pure subroutine deallocate_assistant_response(this)
      class(ImageGeneration), intent(inout) :: this
      if (allocated(this%assistant_response)) deallocate(this%assistant_response)
   end subroutine deallocate_assistant_response