local_rank# RayLightningEnvironment.local_rank() → int[source]# Return this worker’s rank among the workers on its node. Returns: The local rank from the Ray Train context. Return type: int