mindspore.ops.hypot ==================== .. image:: https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/website-images/br_base/resource/_static/logo_source.svg :target: https://gitee.com/mindspore/mindspore/blob/br_base/docs/api/api_python/ops/mindspore.ops.func_hypot.rst :alt: 查看源文件 .. py:function:: mindspore.ops.hypot(input, other) 给定直角三角形的边,逐元素计算其斜边。 支持广播、类型提升。 .. math:: out_i = \sqrt{input_i^2 + other_i^2} 参数: - **input** (Tensor) - 第一个输入tensor。 - **other** (Tensor) - 第二个输入tensor。 返回: Tensor