python/ray/ml/checkpoint.py
def to_object_ref(self) -> ray.ObjectRef:
        """Return checkpoint data as object reference.

        Returns:
            ray.ObjectRef: ObjectRef pointing to checkpoint data.
        """
        if self._obj_ref:
            return self._obj_ref
        else:
            return ray.put(self.to_dict())
Return checkpoint data as object reference.

        Returns:
            ray.ObjectRef: ObjectRef pointing to checkpoint data.
        
Return checkpoint data as object reference.
Return checkpoint data as object reference .
def to_object_ref(self) -> ray.ObjectRef:
        if self._obj_ref:
            return self._obj_ref
        else:
            return ray.put(self.to_dict())
def to_object_ref ( self ) -> ray . ObjectRef : if self . _obj_ref : return self . _obj_ref else : return ray . put ( self . to_dict ( ) )
Return checkpoint data as object reference.
Return checkpoint data as object reference .
"""Return checkpoint data as object reference.

        Returns:
            ray.ObjectRef: ObjectRef pointing to checkpoint data.
        """
ObjectRef pointing to checkpoint data.
ObjectRef pointing to checkpoint data .
ray.ObjectRef
self