/foundation/ai/neural_network_runtime/test/unittest/ops/ |
H A D | ops_test.cpp | 61 int64_t* strideValue = new (std::nothrow) int64_t[strideNum]{1, 1}; in SetStride() local 62 EXPECT_NE(nullptr, strideValue); in SetStride() 63 tensor->SetBuffer(strideValue, sizeof(int64_t) * strideNum); in SetStride()
|
H A D | depthwise_conv2d_native_padmode_test.cpp | 219 int32_t* strideValue = new (std::nothrow) int32_t[2]{1, 1}; in HWTEST_F() local 220 EXPECT_NE(nullptr, strideValue); in HWTEST_F() 222 tensor->SetBuffer(strideValue, 2 * sizeof(int32_t)); in HWTEST_F()
|
H A D | avgpool_padmod_test.cpp | 244 int32_t* strideValue = new (std::nothrow) int32_t[strideNum]{1, 1}; in HWTEST_F() local 245 EXPECT_NE(nullptr, strideValue); in HWTEST_F() 247 tensor->SetBuffer(strideValue, sizeof(int32_t) * strideNum); in HWTEST_F()
|
H A D | maxpool_padmode_test.cpp | 238 int32_t* strideValue = new (std::nothrow) int32_t[strideNum]{1, 1}; in HWTEST_F() local 239 EXPECT_NE(nullptr, strideValue); in HWTEST_F() 241 tensor->SetBuffer(strideValue, sizeof(int32_t) * strideNum); in HWTEST_F()
|
H A D | conv2d_padmode_test.cpp | 217 int32_t* strideValue = new (std::nothrow) int32_t[2]{1, 1}; in HWTEST_F() local 218 EXPECT_NE(nullptr, strideValue); in HWTEST_F() 220 tensor->SetBuffer(strideValue, 2 * sizeof(int32_t)); in HWTEST_F()
|
H A D | conv2d_transpose_pad_test.cpp | 238 int32_t* strideValue = new (std::nothrow) int32_t[2]{1, 1}; in HWTEST_F() local 239 EXPECT_NE(nullptr, strideValue); in HWTEST_F() 241 tensor->SetBuffer(strideValue, 2 * sizeof(int32_t)); in HWTEST_F()
|
H A D | conv2d_pad_test.cpp | 219 int32_t* strideValue = new (std::nothrow) int32_t[2]{1, 1}; in HWTEST_F() local 220 EXPECT_NE(nullptr, strideValue); in HWTEST_F() 222 tensor->SetBuffer(strideValue, 2 * sizeof(int32_t)); in HWTEST_F()
|
H A D | avgpool_pad_test.cpp | 244 int32_t* strideValue = new (std::nothrow) int32_t[numStride]{1, 1}; in HWTEST_F() local 245 EXPECT_NE(nullptr, strideValue); in HWTEST_F() 246 tensor->SetBuffer(strideValue, sizeof(int32_t) * numStride); in HWTEST_F()
|
H A D | depthwise_conv2d_native_pad_test.cpp | 221 int32_t* strideValue = new (std::nothrow) int32_t[2]{1, 1}; in HWTEST_F() local 222 EXPECT_NE(nullptr, strideValue); in HWTEST_F() 224 tensor->SetBuffer(strideValue, 2 * sizeof(int32_t)); in HWTEST_F()
|
H A D | maxpool_pad_test.cpp | 244 int32_t* strideValue = new (std::nothrow) int32_t[strideNum]{1, 1}; in HWTEST_F() local 245 EXPECT_NE(nullptr, strideValue); in HWTEST_F() 247 tensor->SetBuffer(strideValue, sizeof(int32_t) * strideNum); in HWTEST_F()
|
H A D | conv2d_tranpose_padmode_test.cpp | 231 int32_t* strideValue = new (std::nothrow) int32_t[2]{1, 1}; in HWTEST_F() local 232 EXPECT_NE(nullptr, strideValue); in HWTEST_F() 234 tensor->SetBuffer(strideValue, 2 * sizeof(int32_t)); in HWTEST_F()
|
/foundation/multimedia/image_framework/frameworks/kits/js/common/sendable/ |
H A D | sendable_pixel_map_napi.cpp | 1713 napi_value strideValue = nullptr; in STATIC_NAPI_VALUE_FUNC() local 1714 napi_create_int32(env, static_cast<int32_t>(rPixelMap->GetRowStride()), &strideValue); in STATIC_NAPI_VALUE_FUNC() 1715 napi_set_named_property(env, result, "stride", strideValue); in STATIC_NAPI_VALUE_FUNC()
|
/foundation/multimedia/image_framework/frameworks/kits/js/common/ |
H A D | pixel_map_napi.cpp | 2101 napi_value strideValue = nullptr; in STATIC_NAPI_VALUE_FUNC() local 2102 napi_create_int32(env, static_cast<int32_t>(rPixelMap->GetRowStride()), &strideValue); in STATIC_NAPI_VALUE_FUNC() 2103 napi_set_named_property(env, result, "stride", strideValue); in STATIC_NAPI_VALUE_FUNC()
|