Home
last modified time | relevance | path

Searched defs:lambd (Results 1 – 25 of 42) sorted by relevance

12

/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/gpu/kernel/cuda_impl/cuda_ops/
Dhshrink_impl.cu21 __global__ void HShrinkKernel(size_t size, const T *input, const float lambd, T *output) { in HShrinkKernel()
31 __global__ void HShrinkGradKernel(size_t size, const T *dout, const T *x, const float lambd, T *out… in HShrinkGradKernel()
41 cudaError_t CalHShrink(const size_t &size, const T *input, const float lambd, T *output, const uint… in CalHShrink()
49 cudaError_t CalHShrinkGrad(const size_t &size, const T *dout, const T *x, const float lambd, T *out… in CalHShrinkGrad()
Dsoft_shrink_impl.cu21 __global__ void SoftShrinkComp(size_t size, const T *input, const float lambd, T *output) { in SoftShrinkComp()
33 … SoftShrinkGradComp(size_t size, const T *dy_addr, const T *x_addr, const float lambd, T *dx_addr)… in SoftShrinkGradComp()
43 cudaError_t SoftShrink(const size_t &size, const T *input, const float lambd, T *output, const uint… in SoftShrink()
50 cudaError_t SoftShrinkGrad(const size_t &size, const T *dy_addr, const T *x_addr, const float lambd in SoftShrinkGrad()
/third_party/mindspore/mindspore-src/source/tests/st/ops/cpu/
Dtest_soft_shrink_op.py27 def soft_shrink_op_np_bencmark(input_x, lambd): argument
45 def __init__(self, lambd): argument
59 def test_soft_shrink(dtype, data_shape, lambd): argument
135 def softshrink_grad_op_np_bencmark(grad, input_x, lambd=0.5): argument
Dtest_hshrink_grad_op.py30 def __init__(self, lambd=0.5): argument
38 def hshrink_grad_op_np_bencmark(grad, input_x, lambd): argument
59 def test_hshrink_grad(dtype, data_shape, lambd): argument
Dtest_hshrink_op.py26 def hshrink_op_np_bencmark(input_x, lambd): argument
47 def test_hshrink(dtype, data_shape, lambd): argument
/third_party/mindspore/mindspore-src/source/tests/st/dyn_shape_dev/
Dtest_hshrink.py26 def hshrink_forward_func(input_x, lambd): argument
31 def hshrink_backward_func(input_x, lambd): argument
36 def hshrink_dyn_shape_func(input_x, lambd): argument
Dtest_hshrink_grad.py26 def hshrink_grad_forward_func(gradients, features, lambd): argument
31 def hshrink_grad_dyn_shape_func(gradients, features, lambd): argument
/third_party/mindspore/mindspore-src/source/tests/st/ops/gpu/
Dtest_hshrink_op.py25 def hshrink_op_np_bencmark(input_x, lambd): argument
46 def test_hshrink(dtype, data_shape, lambd): argument
Dtest_soft_shrink_op.py30 def soft_shrink_op_np_bencmark(input_x, lambd): argument
48 def __init__(self, lambd): argument
62 def test_soft_shrink(dtype, data_shape, lambd): argument
Dtest_hshrink_grad_op.py25 def hshrink_grad_op_np_bencmark(grad, input_x, lambd): argument
46 def test_hshrink_grad(dtype, data_shape, lambd): argument
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/experimental/optim/
Dasgd.py35 def _run_asgd_opt(lambd, alpha, t0, step, lr, param, grad, eta, mu, ax): argument
103 …def __init__(self, params, lr=1e-2, lambd=1e-4, alpha=0.75, t0=1e6, weight_decay=0.0, maximize=Fal… argument
128 def implementation(self, lambd, alpha, t0, lr, group_id, maximize, gradients, weight_decay): argument
/third_party/mindspore/mindspore-src/source/tests/ut/cpp/ops/
Dtest_ops_hshrink.cc33 ValuePtr lambd; member
52 auto lambd = shape_param.lambd->ToAbstract(); in TEST_P() local
Dtest_ops_hshrink_grad.cc34 ValuePtr lambd; member
59 auto lambd = shape_param.lambd->ToAbstract(); in TEST_P() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/cpu/kernel/
Dhshrink_cpu_kernel.h44 float lambd = 0.5; variable
Dhshrink_grad_cpu_kernel.h44 float lambd = 0.5; variable
/third_party/mindspore/mindspore-src/source/mindspore/core/ops/
Dsoft_shrink.cc43 void SoftShrink::Init(const float &lambd) { in Init()
48 void SoftShrink::set_lambd(const float &lambd) { in set_lambd()
/third_party/mindspore/mindspore-src/source/mindspore/core/ops/grad/
Dsoft_shrink_grad.cc45 void SoftShrinkGrad::Init(const float &lambd) { in Init()
50 void SoftShrinkGrad::set_lambd(const float &lambd) { in set_lambd()
/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/converter/parser/onnx/
Donnx_shrink_parser.cc31 float lambd = 0.5; in Parse() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/backend/common/pass/add_attr_to_node/
Dhshrink_modify_lambd.cc30 auto lambd = GetValue<float>(lambd_value_node->value()); in HShrinkModifyLambd() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/gpu/kernel/nn/
Dhshrink_gpu_kernel.h51 float lambd = 0.f; variable
Dhshrink_grad_gpu_kernel.h51 float lambd = 0.f; variable
/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/converter/adapter/dpico/parser/onnx/
Donnx_shrink_parser.cc36 float lambd = 0.5; in Parse() local
/third_party/mindspore/mindspore-src/source/mindspore/lite/tools/converter/adapter/acl/mapper/
Dshrink_mapper.cc47 auto lambd = src_prim->GetAttr(mindspore::ops::kLambd); in Mapper() local
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/nn/optim/
Dasgd.py156 def __init__(self, params, learning_rate=0.1, lambd=1e-4, alpha=0.75, t0=1e6, weight_decay=0.0): argument
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/cpu/kernel/nnacl/include/nnacl/neon/
Dactivation_grad_neon.h32 int length, float *dst, float lambd) { in ShrinkGradNEON()

12