From 0448dedb5d38f43e9a92ca4758d37e3ccd7d7328 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=81=E4=B8=80=E9=9B=B7?= Date: Thu, 24 Oct 2024 16:20:05 +0800 Subject: [PATCH] =?UTF-8?q?ce=20=EF=BC=88cherry=20picked=20commit=20from?= =?UTF-8?q?=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/mindspore/source_en/api_python/env_var_list.rst | 6 ------ docs/mindspore/source_zh_cn/api_python/env_var_list.rst | 6 ------ 2 files changed, 12 deletions(-) diff --git a/docs/mindspore/source_en/api_python/env_var_list.rst b/docs/mindspore/source_en/api_python/env_var_list.rst index f202cbb35c..8445c9e2b6 100644 --- a/docs/mindspore/source_en/api_python/env_var_list.rst +++ b/docs/mindspore/source_en/api_python/env_var_list.rst @@ -952,12 +952,6 @@ Dynamic Graph - Type - Value Range - Description - * - MS_TENSOR_API_ENABLE_MINT - - Tensor Api PyTorch Compatibility switch for Ascend platform in dynamic graph mode. - - String - - '1': Turn on Tensor Api PyTorch Compatibility. - Not setting or other values: Turn off Tensor Api PyTorch Compatibility. - - If turn on, the following Api: repeat_interleave(repeats, dim=None), add(other), item(index=None), isnan(), flatten(order='C', \*, start_dim=0, end_dim=-1), max(axis=None, keepdims=False, \*, initial=None, where=True, return_indices=False), mean(axis=None, keep_dims=False), min(axis=None, keepdims=False, \*, initial=None, where=True, return_indices=False), split(split_size_or_sections, axis=0), sub(y) will be compatible with PyTorch conterparts. * - MS_PYNATIVE_CONFIG_STATIC_SHAPE - We use this switch to turn on graph distribution for calculating gradient in PyNative mode. - String diff --git a/docs/mindspore/source_zh_cn/api_python/env_var_list.rst b/docs/mindspore/source_zh_cn/api_python/env_var_list.rst index d9be573699..667bdadc99 100644 --- a/docs/mindspore/source_zh_cn/api_python/env_var_list.rst +++ b/docs/mindspore/source_zh_cn/api_python/env_var_list.rst @@ -960,12 +960,6 @@ Profiler - 类型 - 取值 - 说明 - * - MS_TENSOR_API_ENABLE_MINT - - 昇腾平台,动态图模式Tensor接口PyTorch兼容性开关。 - - String - - '1':开启特定接口的PyTorch兼容性。 - 不设置或其他值:关闭该功能。 - - 开启该功能后,repeat_interleave(repeats, dim=None)、add(other)、item(index=None)、isnan()、flatten(order='C', \*, start_dim=0, end_dim=-1)、max(axis=None, keepdims=False, \*, initial=None, where=True, return_indices=False)、mean(axis=None, keep_dims=False)、min(axis=None, keepdims=False, \*, initial=None, where=True, return_indices=False)、split(split_size_or_sections, axis=0)、sub(y)这些Tensor接口将兼容PyTorch用法。 * - MS_PYNATIVE_CONFIG_STATIC_SHAPE - 动态图模式反向整图下发开关。 - String -- Gitee