From 6893314bc2eb7a20cd0aeb05c4b95d946ebaa081 Mon Sep 17 00:00:00 2001 From: huan <3174348550@qq.com> Date: Sat, 26 Jul 2025 10:57:54 +0800 Subject: [PATCH] modify anchors --- docs/lite/api/source_en/api_java/train_cfg.md | 4 +- docs/lite/api/source_zh_cn/api_c/model_c.md | 4 +- .../api_java/ascend_device_info.md | 58 +++++++++---------- .../api/source_zh_cn/api_java/train_cfg.md | 4 +- 4 files changed, 35 insertions(+), 35 deletions(-) diff --git a/docs/lite/api/source_en/api_java/train_cfg.md b/docs/lite/api/source_en/api_java/train_cfg.md index 2c5c1d245f..3fd33dcb32 100644 --- a/docs/lite/api/source_en/api_java/train_cfg.md +++ b/docs/lite/api/source_en/api_java/train_cfg.md @@ -15,8 +15,8 @@ Configuration parameters used for model training on the device. | [boolean init()](#init) | ✕ | √ | | [boolean init(String loss_name)](#init) | ✕ | √ | | [void free()](#free) | ✕ | √ | -| [boolean addMixPrecisionCfg(boolean dynamicLossScale, float lossScale, int thresholdIterNum)](#addMixPrecisionCfg) | ✕ | √ | -| [long getTrainCfgPtr()](#getTrainCfgPtr) | ✕ | √ | +| [boolean addMixPrecisionCfg(boolean dynamicLossScale, float lossScale, int thresholdIterNum)](#addmixprecisioncfg) | ✕ | √ | +| [long getTrainCfgPtr()](#gettraincfgptr) | ✕ | √ | ## init diff --git a/docs/lite/api/source_zh_cn/api_c/model_c.md b/docs/lite/api/source_zh_cn/api_c/model_c.md index 85ffd28a7b..337ff44718 100644 --- a/docs/lite/api/source_zh_cn/api_c/model_c.md +++ b/docs/lite/api/source_zh_cn/api_c/model_c.md @@ -32,8 +32,8 @@ Model定义了MindSpore中编译和运行的模型。 | [MSStatus MSModelResize(MSModelHandle model, const MSTensorHandleArray inputs, MSShapeInfo* shape_infos,size_t shape_info_num)](#msmodelresize) | | [MSStatus MSModelRunStep(MSModelHandle model, const MSKernelCallBackC before, const MSKernelCallBackC after)](#msmodelrunstep) | | [MSStatus MSModelSetLearningRate(MSModelHandle model, float learning_rate)](#msmodelsetlearningrate) | -| [MSStatus MSModelSetTrainMode(const MSModelHandle model, bool train)](#MSModelSetTrainMode1) | -| [MSStatus MSModelSetTrainMode(MSModelHandle model, bool train)](#MSModelSetTrainMode2) | +| [MSStatus MSModelSetTrainMode(const MSModelHandle model, bool train)](#msmodelsettrainmode1) | +| [MSStatus MSModelSetTrainMode(MSModelHandle model, bool train)](#msmodelsettrainmode2) | | [void MSModelSetWorkspace(MSModelHandle model, void* workspace, size_t workspace_size)](#msmodelsetworkspace) | | [MSStatus MSModelSetupVirtualBatch(MSModelHandle model, int virtual_batch_multiplier, float lr, float momentum)](#msmodelsetupvirtualbatch) | | [MSStatus MSModelUpdateWeights(MSModelHandle model, const MSTensorHandleArray new_weights)](#msmodelupdateweights) | diff --git a/docs/lite/api/source_zh_cn/api_java/ascend_device_info.md b/docs/lite/api/source_zh_cn/api_java/ascend_device_info.md index 1c3f973660..7163b174df 100644 --- a/docs/lite/api/source_zh_cn/api_java/ascend_device_info.md +++ b/docs/lite/api/source_zh_cn/api_java/ascend_device_info.md @@ -12,35 +12,35 @@ import com.mindspore.config.AscendDeviceInfo; | function | 云侧推理是否支持 | 端侧推理是否支持 | | ------------------------------------------ |--------|--------| -| [int getDeviceID)](#getDeviceID) | √ | ✕ | -| [int getDeviceType](#getDeviceType) | √ | ✕ | -| [String getProvider](#getProvider) | √ | ✕ | -| [void setProvider(String provider)](#setProvider) | √ | ✕ | -| [void setDeviceID(int deviceId)](#setDeviceID) | √ | ✕ | -| [int getRankID()](#getRankID) | √ | ✕ | -| [void setRankID(int rankId)](#setRankID) | √ | ✕ | -| [String getInsertOpConfigPath()](#getInsertOpConfigPath) | √ | ✕ | -| [void setInsertOpConfigPath(String insertOpConfigPath)](#setInsertOpConfigPath) | √ | ✕ | -| [String getInputFormat()](#getInputFormat) | √ | ✕ | -| [void setInputFormat(String inputFormat)](#setInputFormat) | √ | ✕ | -| [String getInputShape()](#getInputShape) | √ | ✕ | -| [void setInputShape(String inputShape)](#setInputShape) | √ | ✕ | -| [HashMap> getInputShapeMap()](#getInputShapeMap) | √ | ✕ | -| [void setInputShapeMap(HashMap> inputShapeMap)](#setInputShapeMap) | √ | ✕ | -| [ArrayList getDynamicBatchSize()](#getDynamicBatchSize) | √ | ✕ | -| [void setDynamicBatchSize(ArrayList dynamicBatchSize)](#setDynamicBatchSize) | √ | ✕ | -| [String getDynamicImageSize()](#getDynamicImageSize) | √ | ✕ | -| [void setDynamicImageSize(String dynamicImageSize)](#setDynamicImageSize) | √ | ✕ | -| [int getOutputType()](#getOutputType) | √ | ✕ | -| [void setOutputType(int outputType)](#setOutputType) | √ | ✕ | -| [String getPrecisionMode()](#getPrecisionMode) | √ | ✕ | -| [void setPrecisionMode(String precisionMode)](#setPrecisionMode) | √ | ✕ | -| [String getOpSelectImplMode()](#getOpSelectImplMode) | √ | ✕ | -| [void setOpSelectImplMode(String opSelectImplMode)](#setOpSelectImplMode) | √ | ✕ | -| [String getFusionSwitchConfigPath()](#getFusionSwitchConfigPath) | √ | ✕ | -| [void setFusionSwitchConfigPath(String fusionSwitchConfigPath)](#setFusionSwitchConfigPath) | √ | ✕ | -| [String getBufferOptimizeMode()](#getBufferOptimizeMode) | √ | ✕ | -| [void setBufferOptimizeMode(String bufferOptimizeMode)](#setBufferOptimizeMode) | √ | ✕ | +| [int getDeviceID)](#getdeviceid) | √ | ✕ | +| [int getDeviceType](#getdevicetype) | √ | ✕ | +| [String getProvider](#getprovider) | √ | ✕ | +| [void setProvider(String provider)](#setprovider) | √ | ✕ | +| [void setDeviceID(int deviceId)](#setdeviceid) | √ | ✕ | +| [int getRankID()](#getrankid) | √ | ✕ | +| [void setRankID(int rankId)](#setrankid) | √ | ✕ | +| [String getInsertOpConfigPath()](#getinsertopconfigpath) | √ | ✕ | +| [void setInsertOpConfigPath(String insertOpConfigPath)](#setinsertopconfigpath) | √ | ✕ | +| [String getInputFormat()](#getinputformat) | √ | ✕ | +| [void setInputFormat(String inputFormat)](#setinputformat) | √ | ✕ | +| [String getInputShape()](#getinputshape) | √ | ✕ | +| [void setInputShape(String inputShape)](#setinputshape) | √ | ✕ | +| [HashMap> getInputShapeMap()](#getinputshapemap) | √ | ✕ | +| [void setInputShapeMap(HashMap> inputShapeMap)](#setinputshapemap) | √ | ✕ | +| [ArrayList getDynamicBatchSize()](#getdynamicbatchsize) | √ | ✕ | +| [void setDynamicBatchSize(ArrayList dynamicBatchSize)](#setdynamicbatchsize) | √ | ✕ | +| [String getDynamicImageSize()](#getdynamicimagesize) | √ | ✕ | +| [void setDynamicImageSize(String dynamicImageSize)](#setdynamicimagesize) | √ | ✕ | +| [int getOutputType()](#getoutputtype) | √ | ✕ | +| [void setOutputType(int outputType)](#setoutputtype) | √ | ✕ | +| [String getPrecisionMode()](#getprecisionmode) | √ | ✕ | +| [void setPrecisionMode(String precisionMode)](#setprecisionmode) | √ | ✕ | +| [String getOpSelectImplMode()](#getopselectimplmode) | √ | ✕ | +| [void setOpSelectImplMode(String opSelectImplMode)](#setopselectimplmode) | √ | ✕ | +| [String getFusionSwitchConfigPath()](#getfusionswitchconfigpath) | √ | ✕ | +| [void setFusionSwitchConfigPath(String fusionSwitchConfigPath)](#setfusionswitchconfigpath) | √ | ✕ | +| [String getBufferOptimizeMode()](#getbufferoptimizemode) | √ | ✕ | +| [void setBufferOptimizeMode(String bufferOptimizeMode)](#setbufferoptimizemode) | √ | ✕ | ## getDeviceID diff --git a/docs/lite/api/source_zh_cn/api_java/train_cfg.md b/docs/lite/api/source_zh_cn/api_java/train_cfg.md index 98b73b12f0..f32ff65e19 100644 --- a/docs/lite/api/source_zh_cn/api_java/train_cfg.md +++ b/docs/lite/api/source_zh_cn/api_java/train_cfg.md @@ -15,8 +15,8 @@ import com.mindspore.config.TrainCfg; | [boolean init()](#init) | ✕ | √ | | [boolean init(String loss_name)](#init) | ✕ | √ | | [void free()](#free) | ✕ | √ | -| [boolean addMixPrecisionCfg(boolean dynamicLossScale, float lossScale, int thresholdIterNum)](#addMixPrecisionCfg) | ✕ | √ | -| [long getTrainCfgPtr()](#getTrainCfgPtr) | ✕ | √ | +| [boolean addMixPrecisionCfg(boolean dynamicLossScale, float lossScale, int thresholdIterNum)](#addmixprecisioncfg) | ✕ | √ | +| [long getTrainCfgPtr()](#gettraincfgptr) | ✕ | √ | ## init -- Gitee