/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/ops/ |
H A D | depthwise_conv2d_native_pad_test.cpp | 58 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 D | conv2d_transpose_pad_test.cpp | 61 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 D | conv2d_pad_test.cpp | 58 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 D | avgpool_pad_test.cpp | 82 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 D | maxpool_pad_test.cpp | 82 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 D | conv2d_padmode_test.cpp | 527 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 D | conv2d_tranpose_padmode_test.cpp | 574 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 D | nnrt_op_builder.cpp | 217 float padValue = 0.0; in AddPadParams() local 218 mappingArgs.builder->AddScalarFloat32Tensor(padValue, OH_NN_PAD_CONSTANT_VALUE); in AddPadParams()
|