def METHOD_NAME(self, output_object: Any, next_rank: int = None) -> None:
    """Sends the input tensor to the next stage in pipeline.
    Args:
        output_object (Any): Object to be sent.
        next_rank (int, optional): The rank of the recipient of the tensor.
    """
    if next_rank is None:
        next_rank = self.stage_manager.get_next_rank()
    cur_rank = self.stage_manager.get_rank()
    _send_object(output_object, cur_rank, next_rank, self.stage_manager.get_p2p_process_group(cur_rank, next_rank))