提交 551cc701 编写于 作者: M Megvii Engine Team 提交者: huangxinda

docs(distributed.functional): add return type for all_reduce_max (jira #MGE-2706)

GitOrigin-RevId: a29f1f1880674a45fa593582b34b807be1e46786
上级 72ff7aec
......@@ -271,6 +271,7 @@ def all_reduce_max(
:param inp: input tensor.
:param group: communication group.
:param device: execution device.
:returns: reduced tensor.
"""
mode = CollectiveComm.Mode.ALL_REDUCE_MAX
return collective_comm(inp, mode, group, device)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册