deallocate_model Subroutine

private pure elemental subroutine deallocate_model(this)

Type Bound

Translation

Arguments

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

Called by

proc~~deallocate_model~3~~CalledByGraph proc~deallocate_model~3 foropenai_Translation::Translation%deallocate_model proc~deallocate_translation foropenai_Translation::Translation%deallocate_Translation proc~deallocate_translation->proc~deallocate_model~3 program~test_translation test_Translation program~test_translation->proc~deallocate_translation

Source Code

   elemental pure subroutine deallocate_model(this)
      class(Translation), intent(inout) :: this
      if (allocated(this%model)) deallocate(this%model)
   end subroutine deallocate_model