Home
last modified time | relevance | path

Searched refs:weightValue (Results 1 - 8 of 8) sorted by relevance

/foundation/ai/neural_network_runtime/test/unittest/ops/
H A Ddepthwise_conv2d_native_pad_test.cpp85 float* weightValue = new (std::nothrow) float[8]{1, 0, 0, 1, 0, 1, 1, 0}; in SetDepthwiseConv2dInput() local
86 EXPECT_NE(nullptr, weightValue); in SetDepthwiseConv2dInput()
88 inputsTensor->SetBuffer(weightValue, weightNum * sizeof(weightValue)); in SetDepthwiseConv2dInput()
436 float* weightValue = new (std::nothrow) float[3]{1, 0, 0}; in HWTEST_F() local
437 EXPECT_NE(nullptr, weightValue); in HWTEST_F()
439 inputsTensor->SetBuffer(weightValue, weightNum * sizeof(weightValue)); in HWTEST_F()
472 float* weightValue = new (std::nothrow) float[8]{1, 0, 0, 1, 0, 1, 1, 0}; in HWTEST_F() local
473 EXPECT_NE(nullptr, weightValue); in HWTEST_F()
[all...]
H A Dconv2d_padmode_test.cpp84 float* weightValue = new (std::nothrow) float[4]{1, 1, 1, 1}; in SetConv2dInput() local
85 EXPECT_NE(nullptr, weightValue); in SetConv2dInput()
86 inputTensor->SetBuffer(weightValue, weightNum * sizeof(weightValue)); in SetConv2dInput()
467 float* weightValue = new (std::nothrow) float[3]{1, 1, 1}; in HWTEST_F() local
468 EXPECT_NE(nullptr, weightValue); in HWTEST_F()
470 inputTensor->SetBuffer(weightValue, weightNum * sizeof(weightValue)); in HWTEST_F()
H A Ddepthwise_conv2d_native_padmode_test.cpp82 float* weightValue = new (std::nothrow) float[8]{1, 0, 0, 1, 0, 1, 1, 0}; in SetDepthwiseConv2dInput() local
83 EXPECT_NE(nullptr, weightValue); in SetDepthwiseConv2dInput()
85 inputTensor->SetBuffer(weightValue, weightNum * sizeof(weightValue)); in SetDepthwiseConv2dInput()
H A Dconv2d_tranpose_padmode_test.cpp96 float* weightValue = new (std::nothrow) float[4]{1, 1, 1, 1}; in SetConv2dTransposeInput() local
97 EXPECT_NE(nullptr, weightValue); in SetConv2dTransposeInput()
98 inTensor->SetBuffer(weightValue, weightNum * sizeof(weightValue)); in SetConv2dTransposeInput()
460 float* weightValue = new (std::nothrow) float[3]{1, 1, 1}; in HWTEST_F() local
461 EXPECT_NE(nullptr, weightValue); in HWTEST_F()
463 inTensor->SetBuffer(weightValue, weightNum * sizeof(weightValue)); in HWTEST_F()
H A Dconv2d_transpose_pad_test.cpp101 float* weightValue = new (std::nothrow) float[4]{1, 1, 1, 1}; in SetConv2dTransposeInput() local
102 EXPECT_NE(nullptr, weightValue); in SetConv2dTransposeInput()
104 tensor->SetBuffer(weightValue, weightNum * sizeof(weightValue)); in SetConv2dTransposeInput()
H A Dconv2d_pad_test.cpp84 float* weightValue = new (std::nothrow) float[4]{1, 1, 1, 1}; in SetConv2dInput() local
85 EXPECT_NE(nullptr, weightValue); in SetConv2dInput()
87 inputsTensor->SetBuffer(weightValue, weightNum * sizeof(weightValue)); in SetConv2dInput()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_indicator.cpp136 std::string weightValue; in GetFontContent() local
138 weightValue = std::to_string(weight->ToNumber<int32_t>()); in GetFontContent()
140 ParseJsString(weight, weightValue); in GetFontContent()
143 digitalParameters.selectedFontWeight = ConvertStrToFontWeight(weightValue); in GetFontContent()
145 digitalParameters.fontWeight = ConvertStrToFontWeight(weightValue); in GetFontContent()
H A Djs_swiper.cpp401 std::string weightValue;
403 weightValue = std::to_string(weight->ToNumber<int32_t>());
405 ParseJsString(weight, weightValue);
408 digitalParameters.selectedFontWeight = ConvertStrToFontWeight(weightValue);
410 digitalParameters.fontWeight = ConvertStrToFontWeight(weightValue);

Completed in 8 milliseconds