:orphan: :py:mod:`tlm_adjoint.checkpoint_schedules.memory` ================================================= .. py:module:: tlm_adjoint.checkpoint_schedules.memory Module Contents --------------- .. py:class:: MemoryCheckpointSchedule(max_n=None) A checkpointing schedule where all forward restart and non-linear dependency data are stored in memory. Online, unlimited adjoint calculations permitted. .. !! processed by numpydoc !! .. py:property:: is_exhausted Whether the schedule has concluded. Note that some schedules permit multiple adjoint calculation, and may never conclude. .. !! processed by numpydoc !! .. py:property:: uses_disk_storage Whether the schedule may use disk storage. If `False` then no disk storage is required. .. !! processed by numpydoc !! .. py:method:: iter() A generator which should be overridden in derived classes in order to define a checkpointing schedule. .. !! processed by numpydoc !!