- BarrierTaskContext.cpus()#
CPUs allocated to the task.
- Returns
- int
the number of CPUs.
pyspark.BarrierTaskContext.cpus — PySpark In-Progress documentation
pyspark.BarrierTaskContext.cpus — PySpark In-Progress documentation
CPUs allocated to the task.
the number of CPUs.