Home
last modified time | relevance | path

Searched refs:reduceToEndValue (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/ops/
H A Dreduce_all_builder_test.cpp78 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 Dreduce_l2_test.cpp78 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 Dreduce_max_builder_test.cpp78 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 Dreduce_mean_builder_test.cpp78 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 Dreduce_min_builder_test.cpp78 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 Dreduce_prod_builder_test.cpp78 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 Dreduce_sum_builder_test.cpp78 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);