mirror of
https://github.com/wassname/ray.git
synced 2026-07-04 23:38:05 +08:00
This reverts commit 1b1466748f.
This commit is contained in:
@@ -1,30 +0,0 @@
|
||||
class Barrier:
|
||||
"""
|
||||
barrier
|
||||
"""
|
||||
|
||||
def __init__(self, id):
|
||||
self.id = id
|
||||
|
||||
def __str__(self):
|
||||
return "Barrier [id:%s]" % self.id
|
||||
|
||||
|
||||
class OpCheckpointInfo:
|
||||
"""
|
||||
operator checkpoint info
|
||||
"""
|
||||
|
||||
def __init__(self,
|
||||
operator_point=None,
|
||||
input_points=None,
|
||||
output_points=None,
|
||||
checkpoint_id=None):
|
||||
if input_points is None:
|
||||
input_points = {}
|
||||
if output_points is None:
|
||||
output_points = {}
|
||||
self.operator_point = operator_point
|
||||
self.input_points = input_points
|
||||
self.output_points = output_points
|
||||
self.checkpoint_id = checkpoint_id
|
||||
Reference in New Issue
Block a user