deepspeed/runtime/engine.py
def was_step_applied(self) -> bool:
        """Returns True if the latest ``step()`` produced in parameter updates.

        Note that a ``False`` return is not an error condition. Steps are frequently
        no-ops, such as between gradient accumulation boundaries or when overflows
        occur.

        Returns:
            bool: Whether the latest ``step()`` modified model parameters.
        """
        return self._step_applied
Returns True if the latest ``step()`` produced in parameter updates.

        Note that a ``False`` return is not an error condition. Steps are frequently
        no-ops, such as between gradient accumulation boundaries or when overflows
        occur.

        Returns:
            bool: Whether the latest ``step()`` modified model parameters.
        
Returns True if the latest ``step()`` produced in parameter updates.
Note that a ``False`` return is not an error condition. Steps are frequently
no-ops, such as between gradient accumulation boundaries or when overflows
occur.
Returns True if the latest ` ` step () ` ` produced in parameter updates . Note that a ` ` False ` ` return is not an error condition . Steps are frequently no - ops such as between gradient accumulation boundaries or when overflows occur .
def was_step_applied(self) -> bool:
        return self._step_applied
def was_step_applied ( self ) -> bool : return self . _step_applied
Returns True if the latest ``step()`` produced in parameter updates.
Returns True if the latest ` ` step () ` ` produced in parameter updates .
"""Returns True if the latest ``step()`` produced in parameter updates.

        Note that a ``False`` return is not an error condition. Steps are frequently
        no-ops, such as between gradient accumulation boundaries or when overflows
        occur.

        Returns:
            bool: Whether the latest ``step()`` modified model parameters.
        """
Whether the latest ``step()`` modified model parameters.
Whether the latest ` ` step () ` ` modified model parameters .
bool
self