Home
last modified time | relevance | path

Searched refs:roundModeValue (Results 1 - 4 of 4) sorted by relevance

/foundation/ai/neural_network_runtime/test/unittest/ops/
H A Davgpool_padmod_test.cpp60 int32_t* roundModeValue = new (std::nothrow) int32_t(0); in SetRoundMode() local
61 EXPECT_NE(nullptr, roundModeValue); in SetRoundMode()
62 tensor->SetBuffer(roundModeValue, sizeof(int32_t)); in SetRoundMode()
327 int64_t* roundModeValue = new (std::nothrow) int64_t(0); in HWTEST_F() local
328 EXPECT_NE(nullptr, roundModeValue); in HWTEST_F()
330 tensor->SetBuffer(roundModeValue, sizeof(int64_t)); in HWTEST_F()
488 mindspore::lite::RoundMode roundModeValue = mindspore::lite::ROUND_MODE_FLOOR; in HWTEST_F() local
490 EXPECT_EQ(roundModeValue, expectRoundMode); in HWTEST_F()
H A Dmaxpool_padmode_test.cpp60 int32_t* roundModeValue = new (std::nothrow) int32_t(0); in SetRoundMode() local
61 EXPECT_NE(nullptr, roundModeValue); in SetRoundMode()
62 tensor->SetBuffer(roundModeValue, sizeof(int32_t)); in SetRoundMode()
319 int64_t* roundModeValue = new (std::nothrow) int64_t(0); in HWTEST_F() local
320 EXPECT_NE(nullptr, roundModeValue); in HWTEST_F()
322 tensor->SetBuffer(roundModeValue, sizeof(int64_t)); in HWTEST_F()
480 mindspore::lite::RoundMode roundModeValue = mindspore::lite::ROUND_MODE_FLOOR; in HWTEST_F() local
482 EXPECT_EQ(roundModeValue, expectRoundMode); in HWTEST_F()
H A Davgpool_pad_test.cpp61 int32_t* roundModeValue = new (std::nothrow) int32_t(0); in SetRoundMode() local
62 EXPECT_NE(nullptr, roundModeValue); in SetRoundMode()
63 tensor->SetBuffer(roundModeValue, sizeof(int32_t)); in SetRoundMode()
325 int64_t* roundModeValue = new (std::nothrow) int64_t(0); in HWTEST_F() local
326 EXPECT_NE(nullptr, roundModeValue); in HWTEST_F()
328 tensor->SetBuffer(roundModeValue, sizeof(int64_t)); in HWTEST_F()
550 mindspore::lite::RoundMode roundModeValue = mindspore::lite::ROUND_MODE_FLOOR; in HWTEST_F() local
552 EXPECT_EQ(roundModeValue, expectRoundMode); in HWTEST_F()
H A Dmaxpool_pad_test.cpp61 int32_t* roundModeValue = new (std::nothrow) int32_t(0); in SetRoundMode() local
62 EXPECT_NE(nullptr, roundModeValue); in SetRoundMode()
63 tensor->SetBuffer(roundModeValue, sizeof(int32_t)); in SetRoundMode()
326 int64_t* roundModeValue = new (std::nothrow) int64_t(0); in HWTEST_F() local
327 EXPECT_NE(nullptr, roundModeValue); in HWTEST_F()
329 tensor->SetBuffer(roundModeValue, sizeof(int64_t)); in HWTEST_F()
552 mindspore::lite::RoundMode roundModeValue = mindspore::lite::ROUND_MODE_FLOOR; in HWTEST_F() local
554 EXPECT_EQ(roundModeValue, expectRoundMode); in HWTEST_F()

Completed in 4 milliseconds