yefeng
ba20c4e4e8
QAT: fix python api
4 years ago
yefeng
9547adff4a
fix qat class description
4 years ago
i-robot
dc448e1ae9
!25189 fix error format for python api comments.
Merge pull request !25189 from zhangyi/code_docs_master
4 years ago
zhangyi
96356add3d
fix error format for python api comments.
4 years ago
zhunaipan
8ce4e62725
optimize the comment and log description
修改: ops/operations/_inner_ops.py
修改: ops/operations/_quant_ops.py
修改: ops/operations/array_ops.py
修改: ops/operations/comm_ops.py
修改: ops/operations/math_ops.py
修改: ops/operations/quantum_ops.py
修改: ops/operations/rl_ops.py
修改: ops/operations/sponge_ops.py
修改: ops/operations/sponge_update_ops.py
修改: train/__init__.py
修改: common/tensor.py
修改: train/serialization.py
修改: ccsrc/pipeline/jit/parse/parse.h
修改: explainer/benchmark/_attribution/metric.py
修改: ops/composite/multitype_ops/_constexpr_utils.py
修改: ops/operations/comm_ops.py
修改: RELEASE.md
修改: mindspore/_extends/parse/standard_method.py
修改: mindspore/ccsrc/backend/kernel_compiler/cpu/concat_offset_cpu_kernel.cc
修改: mindspore/ccsrc/backend/kernel_compiler/cpu/dynamic_shape_cpu_kernel.cc
修改: mindspore/ccsrc/frontend/parallel/ops_info/reshape_info.cc
修改: mindspore/ccsrc/frontend/parallel/ops_info/tile_info.cc
修改: mindspore/ccsrc/frontend/parallel/ops_info/transpose_info.cc
修改: mindspore/ccsrc/frontend/parallel/strategy.h
修改: mindspore/common/tensor.py
修改: mindspore/core/abstract/prim_arrays.cc
修改: mindspore/core/abstract/prim_nn.cc
修改: mindspore/core/ops/conv2d.cc
修改: mindspore/core/ops/logical_and.h
修改: mindspore/core/ops/logical_not.h
修改: mindspore/core/ops/logical_or.h
修改: mindspore/core/ops/reduce_all.h
修改: mindspore/core/ops/reduce_any.h
修改: mindspore/lite/src/runtime/kernel/arm/fp32_grad/sgd.cc
修改: mindspore/nn/layer/quant.py
修改: mindspore/nn/optim/sgd.py
修改: mindspore/nn/sparse/sparse.py
修改: mindspore/numpy/array_creations.py
修改: mindspore/numpy/array_ops.py
修改: mindspore/numpy/logic_ops.py
修改: mindspore/numpy/math_ops.py
修改: mindspore/ops/operations/_inner_ops.py
修改: mindspore/ops/operations/array_ops.py
修改: mindspore/ops/operations/rl_ops.py
修改: mindspore/train/_utils.py
修改: tests/ut/python/model/test_lenet_core_after_exception.py
修改: mindspore/_extends/parse/standard_method.py
修改: mindspore/ops/operations/rl_ops.py
修改: mindspore/core/abstract/prim_nn.cc
修改: mindspore/core/ops/conv2d.cc
修改: mindspore/ccsrc/backend/kernel_compiler/cpu/ctcloss_cpu_kernel.cc
修改: mindspore/ccsrc/backend/kernel_compiler/cpu/fl/fused_pull_weight_kernel.h
修改: mindspore/ccsrc/backend/kernel_compiler/cpu/fl/fused_push_weight_kernel.h
修改: mindspore/ccsrc/backend/kernel_compiler/cpu/mkldnn/conv2d_grad_filter_cpu_kernel.cc
修改: mindspore/ccsrc/backend/kernel_compiler/cpu/mkldnn/conv2d_grad_input_cpu_kernel.cc
修改: mindspore/ccsrc/backend/kernel_compiler/cpu/ps/sparse_apply_ftrl_ps_kernel.cc
修改: mindspore/ccsrc/backend/kernel_compiler/cpu/ps/sparse_apply_lazy_adam_ps_kernel.cc
修改: mindspore/ccsrc/backend/kernel_compiler/cpu/rolling_cpu_kernel.cc
修改: mindspore/ccsrc/backend/kernel_compiler/cpu/scatter_arithmetic_cpu_kernel.cc
修改: mindspore/ccsrc/backend/kernel_compiler/cpu/split_cpu_kernel.cc
修改: mindspore/ccsrc/backend/kernel_compiler/cpu/update_cache_cpu_kernel.cc
修改: mindspore/ccsrc/backend/kernel_compiler/gpu/arrays/split_gpu_kernel.h
修改: mindspore/ccsrc/backend/kernel_compiler/gpu/math/broadcast_gpu_kernel.h
修改: mindspore/ccsrc/backend/kernel_compiler/gpu/nn/conv2d_grad_input_gpu_kernel.h
修改: mindspore/ccsrc/fl/server/server.cc
修改: mindspore/ccsrc/frontend/optimizer/ad/kpynative.cc
修改: mindspore/ccsrc/frontend/optimizer/irpass/incorporate_getitem.h
修改: mindspore/ccsrc/frontend/optimizer/irpass/inline.h
修改: mindspore/ccsrc/minddata/dataset/core/device_tensor.cc
修改: mindspore/ccsrc/minddata/dataset/core/tensor.cc
修改: mindspore/ccsrc/minddata/dataset/engine/datasetops/source/emnist_op.cc
修改: mindspore/ccsrc/minddata/dataset/engine/datasetops/source/mnist_op.cc
修改: mindspore/ccsrc/minddata/dataset/engine/datasetops/source/qmnist_op.cc
修改: mindspore/ccsrc/minddata/dataset/engine/ir/datasetops/dataset_node.cc
修改: mindspore/ccsrc/minddata/dataset/engine/opt/pre/epoch_ctrl_pass.cc
修改: mindspore/ccsrc/minddata/dataset/kernels/image/lite_image_utils.cc
修改: mindspore/ccsrc/pipeline/jit/action.cc
修改: mindspore/ccsrc/pipeline/jit/static_analysis/evaluator.cc
修改: mindspore/ccsrc/runtime/device/ascend/executor/tiling/op_tiling_adapter.cc
修改: mindspore/compression/quant/quant_utils.py
修改: mindspore/core/abstract/prim_nn.cc
修改: mindspore/dataset/engine/validators.py
修改: mindspore/lite/micro/coder/opcoders/nnacl/fp32/affine_fp32_coder.cc
修改: mindspore/lite/micro/coder/opcoders/nnacl/int8/affine_int8_coder.cc
修改: mindspore/lite/src/runtime/kernel/ascend310/src/custom_kernel.cc
修改: mindspore/lite/src/runtime/kernel/opencl/kernel/matmul.cc
修改: mindspore/lite/src/runtime/kernel/opencl/kernel/strassen.cc
修改: mindspore/lite/tools/common/graph_util.h
修改: mindspore/lite/tools/optimizer/fisson/fisson_util.cc
修改: mindspore/ops/composite/math_ops.py
修改: mindspore/ops/operations/_inner_ops.py
修改: mindspore/ops/operations/array_ops.py
修改: mindspore/ops/operations/math_ops.py
修改: mindspore/ops/operations/other_ops.py
修改: mindspore/boost/boost_cell_wrapper.py
修改: mindspore/ccsrc/backend/kernel_compiler/cpu/update_cache_cpu_kernel.cc
修改: mindspore/ccsrc/common/trans.cc
修改: mindspore/ccsrc/frontend/parallel/cache_embedding/cache_embedding.cc
修改: mindspore/ccsrc/frontend/parallel/ops_info/gather_info.cc
修改: mindspore/lite/src/common/log_util.h
修改: mindspore/nn/wrap/loss_scale.py
修改: mindspore/parallel/nn/moe.py
修改: tests/mindspore_test_framework/mindspore_test.py
修改: mindspore/ccsrc/backend/kernel_compiler/cpu/split_cpu_kernel.cc
修改: mindspore/lite/tools/common/graph_util.h
修改: mindspore/ccsrc/frontend/parallel/ops_info/gather_info.cc
修改: mindspore/core/ops/conv2d.cc
修改: tests/ut/python/model/test_lenet_core_after_exception.py
4 years ago
huchunmei
9641c327e4
modify msg
4 years ago
wangshuide2020
482c5decfb
pass argname, primitive name for the function of validator and update the error info of addn.
4 years ago
dinglinhe
9a8c1b3c73
array_ops error recti and others
4 years ago
huchunmei
c75773cf37
Modify error content
4 years ago
zhang__sss
4eb5348bc9
quant api
4 years ago
i-robot
ec158be5f9
!20890 clean code for quant
Merge pull request !20890 from Erpim/master
4 years ago
Erpim
9f4934acae
clean code for quant
4 years ago
zhunaipan
05f723badf
fix the code spell error in ops and nn directories
修改: mindspore/nn/layer/embedding.py
修改: mindspore/nn/layer/image.py
修改: mindspore/nn/layer/normalization.py
修改: mindspore/nn/layer/quant.py
修改: mindspore/nn/layer/timedistributed.py
修改: mindspore/nn/metrics/accuracy.py
修改: mindspore/nn/optim/rmsprop.py
修改: mindspore/ops/operations/quantum_ops.py
修改: mindspore/ops/operations/sparse_ops.py
修改: mindspore/ops/operations/sponge_ops.py
4 years ago
Erpim
300456a2d7
clearing the untrusted code of quantization
4 years ago
zhang__sss
f26155fb37
test_Conv2dBnFoldQuant
4 years ago
Erpim
ce2c5d5fce
modified the quant API document description
4 years ago
dinglinhe
b1b4375417
Rectification of operator ease of use part 2
4 years ago
wangshuide2020
185ddbbe66
remove the redundant code, add docstring of operator init and add default value for args.
4 years ago
i-robot
6103989fcc
!18003 finish q8bert task
Merge pull request !18003 from chenzhuo/q8bert
4 years ago
chenzhuo
9865ce6ed8
fix q8bert bugs
4 years ago
mindspore-ci-bot
0b4abca602
!17825 fix the bug of inconsistent types of quant_config.activation
From: @erpim
Reviewed-by: @zlq2020,@zh_qh
Signed-off-by: @zlq2020,@zh_qh
4 years ago
Erpim
f3ad6961a6
fix the bug of inconsistent types of quant_config.activation
4 years ago
mindspore-ci-bot
475386e338
!17569 Modified the ST of lenet_quant, and fix the neg_trunc bug for manual quantization
From: @erpim
Reviewed-by: @zhang__sss,@zlq2020,@zh_qh
Signed-off-by: @zlq2020
4 years ago
wangshuide2020
9877a491dc
fix the format, extract function and del redundant code.
4 years ago
Erpim
02228d342c
Modified the ST of lenet_quant, and fix the neg_trunc bug for manual quantization
4 years ago
zhang__sss
43948d255a
lsq end to end
4 years ago
zhang__sss
9626c3a1ae
api_modify
5 years ago
mindspore-ci-bot
f8f1f0f84d
!16362 Quant end to end accuracy testing
From: @zhang__sss
Reviewed-by: @zh_qh,@zlq2020,@liangchenghui
Signed-off-by: @zh_qh
5 years ago
zhang__sss
79cfdd8692
quant_export_910
5 years ago
Erpim
2e9c9a6d4f
fix lsq quant bugs
5 years ago
Erpim
90d5d5dab3
add lsq quantization method
5 years ago
dinglinhe
865cf68243
All the descriptions of batch normal under the mindspore folder have been uniformly updated to 'Batch Normalization'
5 years ago
mindspore-ci-bot
24319a647b
!15322 fix momentum parameter of batchnorm in quantization
From: @chenzhuo42
Reviewed-by: @zh_qh,@zhoufeng54
Signed-off-by: @zh_qh
5 years ago
mindspore-ci-bot
1713717f5e
!15358 Some API comments of mindspore should be fixed
From: @zhang_yi2020
Reviewed-by: @gemini524,@liangchenghui,@wuxuejian
Signed-off-by: @liangchenghui,@wuxuejian
5 years ago
zhangyi
fa2eaafa51
fix some error format for api comments.
5 years ago
Ziyan
b3eebea4de
fix shard strategy for batchnorm
5 years ago
chenzhuo
20fc2ca240
fix momentum of batchnorm in quantization
5 years ago
mindspore-ci-bot
993d00c4ba
!13774 The input and output of batchnorm reverse operator increase pass in ascend platform under the mode of pynitve
From: @ding_fei_fei
Reviewed-by: @kingxian,@zhunaipan
Signed-off-by: @kingxian
5 years ago
dingpeifei
3c9d8cb073
The input and output of batchnorm reverse operator increase pass in ascend platform under the mode of pynitve
5 years ago
mindspore-ci-bot
d2ecf71ace
!13693 Slice op only support input_x int32 and float32 at CPU backend
From: @wangyanling10
Reviewed-by:
Signed-off-by:
5 years ago
wangyanling
fb64e14265
fix slice op bug
5 years ago
yuchaojie
f2830073b5
fix quant _partial_init example
5 years ago
chengxianbin
85b3389caa
fix bug of quant export
5 years ago
wangyanling
6268f660fb
add cpu broadcast_to op
5 years ago
dingpeifei
87e41aaeee
IR operators of GPU and CPU are unified as batchnorm
5 years ago
yingchen
d582883c03
fix api bugs
5 years ago
wangshuide2020
28bf0b4fe2
add raises description for Adam, Lamb, Momentum, etc. operators.
5 years ago
He Wei
7d9a783993
[auto-monad] Support side-effects by auto-monad
The basic idea is: exploits data dependency to control the execution order
of side-effect operations, and keep the semantics of ANF unchanged.
The ControlDepend primitive is removed and there are two primitives added:
1. UpdateState:
```
a = Assign(para, value)
```
became:
```
a = Assign(para, value, u)
u = UpdateState(u, a)
```
2. Load:
```
x = Add(para, value)
```
became:
```
p = Load(para, u)
x = Add(p, value)
u = UpdateState(u, p)
```
5 years ago
l00591931
9ec100d069
Change TensorAdd to Add, from r1.1 to master
5 years ago
wangshuide2020
4cca77cb88
add validation of ApplyMomentum and update annotation of Broadcast, DistributedGradReducer, GlobalBatchNorm, etc. operators.
5 years ago