Searched refs:hasBiasValue (Results 1 - 3 of 3) sorted by relevance
/foundation/ai/neural_network_runtime/test/unittest/ops/ |
H A D | fullconnection_test.cpp | 90 bool* hasBiasValue = new (std::nothrow) bool (true); in SetHasBias() local 91 EXPECT_NE(nullptr, hasBiasValue); in SetHasBias() 93 tensor->SetBuffer(hasBiasValue, sizeof(bool)); in SetHasBias() 216 int32_t *hasBiasValue = new (std::nothrow) int32_t(1); in HWTEST_F() local 217 EXPECT_NE(nullptr, hasBiasValue); in HWTEST_F() 219 tensor->SetBuffer(hasBiasValue, sizeof(int32_t)); in HWTEST_F()
|
H A D | fullconnection_with_axis_test.cpp | 113 bool* hasBiasValue = new (std::nothrow) bool (true); in SetHasBias() local 114 EXPECT_NE(nullptr, hasBiasValue); in SetHasBias() 116 tensor->SetBuffer(hasBiasValue, sizeof(bool)); in SetHasBias() 294 int32_t *hasBiasValue = new (std::nothrow) int32_t(1); in HWTEST_F() local 295 EXPECT_NE(nullptr, hasBiasValue); in HWTEST_F() 296 tensor->SetBuffer(hasBiasValue, sizeof(int32_t)); in HWTEST_F() 399 bool *hasBiasValue = new (std::nothrow) bool[2] {true, true}; in HWTEST_F() local 400 EXPECT_NE(nullptr, hasBiasValue); in HWTEST_F() 401 tensor->SetBuffer(hasBiasValue, 2 * sizeof(bool)); in HWTEST_F()
|
H A D | lstm_test.cpp | 88 bool* hasBiasValue = new (std::nothrow) bool(false);
in SaveHasBias() local 89 EXPECT_NE(nullptr, hasBiasValue);
in SaveHasBias() 90 hasBiasTensor->SetBuffer(hasBiasValue, sizeof(bool));
in SaveHasBias() 397 int64_t* hasBiasValue = new (std::nothrow) int64_t [1]{0};
in HWTEST_F() local 398 EXPECT_NE(nullptr, hasBiasValue);
in HWTEST_F() 399 hasBiasTensor->SetBuffer(hasBiasValue, sizeof(int64_t));
in HWTEST_F() 1221 bool hasBiasValue = false;
in HWTEST_F() local 1239 EXPECT_EQ(returnHasBiasValue, hasBiasValue);
in HWTEST_F()
|
Completed in 5 milliseconds