/foundation/ai/neural_network_runtime/test/unittest/ops/ |
H A D | depthwise_conv2d_native_pad_test.cpp | 85 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 D | conv2d_padmode_test.cpp | 84 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 D | depthwise_conv2d_native_padmode_test.cpp | 82 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 D | conv2d_tranpose_padmode_test.cpp | 96 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 D | conv2d_transpose_pad_test.cpp | 101 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 D | conv2d_pad_test.cpp | 84 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 D | js_indicator.cpp | 136 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 D | js_swiper.cpp | 401 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);
|