Home
last modified time | relevance | path

Searched refs:exp_sum (Results 1 – 7 of 7) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/int8/
Dsoftmax_int8.c45 int32_t exp_sum = 0; in SoftmaxInt8() local
53 exp_sum = exp_sum + Rescale(exp_val, 0, 12); in SoftmaxInt8()
55 sum_data[c] = exp_sum; in SoftmaxInt8()
/third_party/mindspore/mindspore/parallel/nn/
Dloss.py103 exp_sum = self.sum(logit_exp, -1)
104 exp_sum = P.Reshape()(exp_sum, (F.shape(exp_sum)[0], 1))
105 softmax_result = self.div(logit_exp, exp_sum)
/third_party/mindspore/tests/st/auto_parallel/
Dsoft_entropy_loss_expand_parallel.py161 exp_sum = self.reduce_sum(exp, -1)
162 softmax_result = self.div(exp, exp_sum)
Dresnet50_expand_loss.py272 exp_sum = self.sum(exp, -1)
273 softmax_result = self.div(exp, exp_sum)
/third_party/mindspore/tests/ut/python/parallel/
Dtest_auto_parallel_resnet_sharding_propagation2.py247 exp_sum = self.sum(exp, -1)
248 softmax_result = self.div(exp, exp_sum)
Dtest_auto_parallel_resnet_sharding_propagation.py248 exp_sum = self.sum(exp, -1)
249 softmax_result = self.div(exp, exp_sum)
Dtest_auto_parallel_resnet.py247 exp_sum = self.sum(exp, -1)
248 softmax_result = self.div(exp, exp_sum)