node_rank# RayLightningEnvironment.node_rank() → int[source]# Return the rank of the node this worker runs on. Returns: The node rank from the Ray Train context. Return type: int