get_rank_size 功能描述返回MPI通信器中的总进程数。 函数原型def get_rank_size() 返回值说明成功:返回MPI通信器中的总进程数。失败:抛出异常。 使用示例from mx_rec.util.communication.hccl_ops import get_rank_size rank_size = get_rank_size() 父主题: 其他接口