ray.data.Dataset.__init__#

Dataset.__init__(plan: ray.data._internal.plan.ExecutionPlan, epoch: int, lazy: bool = True, logical_plan: Optional[ray.data._internal.logical.interfaces.logical_plan.LogicalPlan] = None)[source]#

Construct a Dataset (internal API).

The constructor is not part of the Dataset API. Use the ray.data.* read methods to construct a dataset.