Home
last modified time | relevance | path

Searched defs:approximate (Results 1 – 9 of 9) sorted by relevance

/third_party/mindspore/mindspore-src/source/tests/st/ops/
Dtest_ops_gelu.py32 def construct(self, x, approximate): argument
43 def test_ops_forward(context_mode, approximate): argument
135 def test_ops_backward(context_mode, approximate): argument
/third_party/mindspore/mindspore-src/source/mindspore/core/ops/fusion/
Dactivation.cc66 void Activation::set_approximate(bool approximate) { (void)this->AddAttr(kApproximate, api::MakeVal… in set_approximate()
74 const ActivationType &activation_type, bool approximate) { in Init()
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/common/ops/operator_populate/
Dactivation_populate.cc87 mindspore::ValuePtr approximate = base_operator->GetPrim()->GetAttr(kApproximate); in PopulateActivationOpParameter() local
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/cpu/kernel/nnacl/fp32/
Dactivation_fp32.c200 int Gelu(const float *src, int length, float *dst, bool approximate) { in Gelu()
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/plugin/device/cpu/kernel/nnacl/fp16/
Dactivation_fp16.c240 int GeluFp16(const float16_t *src, int length, float16_t *dst, bool approximate) { in GeluFp16()
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/nn/layer/
Dactivation.py925 def __init__(self, approximate=True): argument
/third_party/mesa3d/include/tensorflow/lite/core/c/
Dbuiltin_op_data.h530 bool approximate; member
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/ops/function/
Dnn_func.py7027 def gelu(input, approximate='none'): argument
/third_party/mindspore/mindspore-src/source/mindspore/lite/mindir/src/
Dmindir.cc26 float max_val, bool approximate) { in MindIR_Activation_CreatePrimitive()
197 void MindIR_Activation_SetApproximate(PrimitivePtr *primitive, bool approximate) { in MindIR_Activation_SetApproximate()