Home
last modified time | relevance | path

Searched refs:padValue (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/ops/
H A Ddepthwise_conv2d_native_pad_test.cpp58 int64_t* padValue = new (std::nothrow) int64_t[4]{1, 1, 1, 1}; in SetPad() local
59 EXPECT_NE(nullptr, padValue); in SetPad()
61 tensor->SetBuffer(padValue, padNum * sizeof(int64_t)); in SetPad()
276 int32_t* padValue = new (std::nothrow) int32_t[4]{1, 1, 1, 1}; variable
277 EXPECT_NE(nullptr, padValue);
279 tensor->SetBuffer(padValue, 4 * sizeof(int32_t));
408 int64_t* padValue = new (std::nothrow) int64_t[3]{1, 1, 1}; variable
409 EXPECT_NE(nullptr, padValue);
411 tensor->SetBuffer(padValue, padNum * sizeof(int64_t));
H A Dconv2d_transpose_pad_test.cpp61 int64_t* padValue = new (std::nothrow) int64_t[4]{1, 1, 1, 1}; in SetPad() local
62 EXPECT_NE(nullptr, padValue); in SetPad()
64 tensor->SetBuffer(padValue, padNum * sizeof(int64_t)); in SetPad()
291 int32_t* padValue = new (std::nothrow) int32_t[4]{1, 1, 1, 1}; variable
292 EXPECT_NE(nullptr, padValue);
294 tensor->SetBuffer(padValue, 4 * sizeof(int32_t));
H A Dconv2d_pad_test.cpp58 int64_t* padValue = new (std::nothrow) int64_t[4]{1, 1, 1, 1}; in SetPad() local
59 EXPECT_NE(nullptr, padValue); in SetPad()
60 tensor->SetBuffer(padValue, padNum * sizeof(int64_t)); in SetPad()
273 int32_t* padValue = new (std::nothrow) int32_t[4]{1, 1, 1, 1}; variable
274 EXPECT_NE(nullptr, padValue);
275 tensor->SetBuffer(padValue, 4 * sizeof(int32_t));
H A Davgpool_pad_test.cpp82 int64_t* padValue = new (std::nothrow) int64_t[padNum] {0, 0, 0, 0}; in SetPad() local
83 EXPECT_NE(nullptr, padValue); in SetPad()
84 tensor->SetBuffer(padValue, sizeof(int64_t) * padNum); in SetPad()
271 int32_t* padValue = new (std::nothrow) int32_t[padNum]{0, 0, 0, 0}; variable
272 EXPECT_NE(nullptr, padValue);
274 tensor->SetBuffer(padValue, sizeof(int32_t) * padNum);
H A Dmaxpool_pad_test.cpp82 int64_t* padValue = new (std::nothrow) int64_t[padNum]{0, 0, 0, 0}; in SetPad() local
83 EXPECT_NE(nullptr, padValue); in SetPad()
85 tensor->SetBuffer(padValue, sizeof(int64_t) * padNum); in SetPad()
271 int32_t* padValue = new (std::nothrow) int32_t[padNum]{0, 0, 0, 0}; variable
272 EXPECT_NE(nullptr, padValue);
274 tensor->SetBuffer(padValue, sizeof(int32_t) * padNum);
H A Dconv2d_padmode_test.cpp527 int64_t* padValue = new (std::nothrow) int64_t[3]{1, 1, 1}; variable
528 EXPECT_NE(nullptr, padValue);
530 tensor->SetBuffer(padValue, padNum * sizeof(int64_t));
H A Dconv2d_tranpose_padmode_test.cpp574 int64_t* padValue = new (std::nothrow) int64_t[3]{1, 1, 1}; variable
575 EXPECT_NE(nullptr, padValue);
577 tensor->SetBuffer(padValue, 3 * sizeof(int64_t));
/ohos5.0/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/delegates/nnrt_delegate/
H A Dnnrt_op_builder.cpp217 float padValue = 0.0; in AddPadParams() local
218 mappingArgs.builder->AddScalarFloat32Tensor(padValue, OH_NN_PAD_CONSTANT_VALUE); in AddPadParams()