Home
last modified time | relevance | path

Searched refs:strideValue (Results 1 - 13 of 13) sorted by relevance

/foundation/ai/neural_network_runtime/test/unittest/ops/
H A Dops_test.cpp61 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 Ddepthwise_conv2d_native_padmode_test.cpp219 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 Davgpool_padmod_test.cpp244 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 Dmaxpool_padmode_test.cpp238 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 Dconv2d_padmode_test.cpp217 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 Dconv2d_transpose_pad_test.cpp238 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 Dconv2d_pad_test.cpp219 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 Davgpool_pad_test.cpp244 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 Ddepthwise_conv2d_native_pad_test.cpp221 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 Dmaxpool_pad_test.cpp244 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 Dconv2d_tranpose_padmode_test.cpp231 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 Dsendable_pixel_map_napi.cpp1713 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 Dpixel_map_napi.cpp2101 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()

Completed in 33 milliseconds