/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/ops/ |
H A D | reduce_all_builder_test.cpp | 78 bool *reduceToEndValue = new (std::nothrow) bool(true); in SetReduceToEnd() local 79 EXPECT_NE(nullptr, reduceToEndValue); in SetReduceToEnd() 80 reduceToEndTensor->SetBuffer(reduceToEndValue, sizeof(bool)); in SetReduceToEnd() 244 int64_t reduceToEndValue = 1; variable 245 reduceToEndTensor->SetBuffer(&reduceToEndValue, sizeof(reduceToEndValue)); 319 bool reduceToEndValue[2] = {true, true}; variable 320 reduceToEndTensor->SetBuffer(reduceToEndValue, 2 * sizeof(bool)); 466 bool reduceToEndValue = true; variable 477 EXPECT_EQ(returnReduceToEndValue, reduceToEndValue);
|
H A D | reduce_l2_test.cpp | 78 bool *reduceToEndValue = new (std::nothrow) bool(true); in SetReduceToEnd() local 79 EXPECT_NE(nullptr, reduceToEndValue); in SetReduceToEnd() 80 reduceToEndTensor->SetBuffer(reduceToEndValue, sizeof(bool)); in SetReduceToEnd() 244 int64_t reduceToEndValue = 1; variable 245 reduceToEndTensor->SetBuffer(&reduceToEndValue, sizeof(reduceToEndValue)); 319 bool reduceToEndValue[2] = {true, true}; variable 320 reduceToEndTensor->SetBuffer(reduceToEndValue, 2 * sizeof(bool)); 466 bool reduceToEndValue = true; variable 477 EXPECT_EQ(returnReduceToEndValue, reduceToEndValue);
|
H A D | reduce_max_builder_test.cpp | 78 bool *reduceToEndValue = new (std::nothrow) bool(true); in SetReduceToEnd() local 79 EXPECT_NE(nullptr, reduceToEndValue); in SetReduceToEnd() 80 reduceToEndTensor->SetBuffer(reduceToEndValue, sizeof(bool)); in SetReduceToEnd() 244 int64_t reduceToEndValue = 1; variable 245 reduceToEndTensor->SetBuffer(&reduceToEndValue, sizeof(reduceToEndValue)); 319 bool reduceToEndValue[2] = {true, true}; variable 320 reduceToEndTensor->SetBuffer(reduceToEndValue, 2 * sizeof(bool)); 466 bool reduceToEndValue = true; variable 477 EXPECT_EQ(returnReduceToEndValue, reduceToEndValue);
|
H A D | reduce_mean_builder_test.cpp | 78 bool *reduceToEndValue = new (std::nothrow) bool(true); in SetReduceToEnd() local 79 EXPECT_NE(nullptr, reduceToEndValue); in SetReduceToEnd() 80 reduceToEndTensor->SetBuffer(reduceToEndValue, sizeof(bool)); in SetReduceToEnd() 244 int64_t reduceToEndValue = 1; variable 245 reduceToEndTensor->SetBuffer(&reduceToEndValue, sizeof(reduceToEndValue)); 319 bool reduceToEndValue[2] = {true, true}; variable 320 reduceToEndTensor->SetBuffer(reduceToEndValue, 2 * sizeof(bool)); 466 bool reduceToEndValue = true; variable 477 EXPECT_EQ(returnReduceToEndValue, reduceToEndValue);
|
H A D | reduce_min_builder_test.cpp | 78 bool *reduceToEndValue = new (std::nothrow) bool(true); in SetReduceToEnd() local 79 EXPECT_NE(nullptr, reduceToEndValue); in SetReduceToEnd() 80 reduceToEndTensor->SetBuffer(reduceToEndValue, sizeof(bool)); in SetReduceToEnd() 244 int64_t reduceToEndValue = 1; variable 245 reduceToEndTensor->SetBuffer(&reduceToEndValue, sizeof(reduceToEndValue)); 319 bool reduceToEndValue[2] = {true, true}; variable 320 reduceToEndTensor->SetBuffer(reduceToEndValue, 2 * sizeof(bool)); 466 bool reduceToEndValue = true; variable 477 EXPECT_EQ(returnReduceToEndValue, reduceToEndValue);
|
H A D | reduce_prod_builder_test.cpp | 78 bool *reduceToEndValue = new (std::nothrow) bool(true); in SetReduceToEnd() local 79 EXPECT_NE(nullptr, reduceToEndValue); in SetReduceToEnd() 80 reduceToEndTensor->SetBuffer(reduceToEndValue, sizeof(bool)); in SetReduceToEnd() 244 int64_t reduceToEndValue = 1; variable 245 reduceToEndTensor->SetBuffer(&reduceToEndValue, sizeof(reduceToEndValue)); 319 bool reduceToEndValue[2] = {true, true}; variable 320 reduceToEndTensor->SetBuffer(reduceToEndValue, 2 * sizeof(bool)); 466 bool reduceToEndValue = true; variable 477 EXPECT_EQ(returnReduceToEndValue, reduceToEndValue);
|
H A D | reduce_sum_builder_test.cpp | 78 bool *reduceToEndValue = new (std::nothrow) bool(true); in SetReduceToEnd() local 79 EXPECT_NE(nullptr, reduceToEndValue); in SetReduceToEnd() 80 reduceToEndTensor->SetBuffer(reduceToEndValue, sizeof(bool)); in SetReduceToEnd() 244 int64_t reduceToEndValue = 1; variable 245 reduceToEndTensor->SetBuffer(&reduceToEndValue, sizeof(reduceToEndValue)); 319 bool reduceToEndValue[2] = {true, true}; variable 320 reduceToEndTensor->SetBuffer(reduceToEndValue, 2 * sizeof(bool)); 466 bool reduceToEndValue = true; variable 477 EXPECT_EQ(returnReduceToEndValue, reduceToEndValue);
|