Home
last modified time | relevance | path

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

/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/ops/
H A Dreduce_all_builder_test.cpp68 float *coeffValue = new (std::nothrow) float(0.0f); in SetCoeff() local
69 EXPECT_NE(nullptr, coeffValue); in SetCoeff()
70 coeffTensor->SetBuffer(coeffValue, sizeof(float)); in SetCoeff()
220 int64_t coeffValue = 1; variable
221 coeffTensor->SetBuffer(&coeffValue, sizeof(int64_t));
293 float coeffValue[2] = {1.0f, 1.0f}; variable
294 coeffTensor->SetBuffer(coeffValue, 2 * sizeof(float));
465 float coeffValue = 0.0f; variable
475 EXPECT_EQ(returnCoeffValue, coeffValue);
H A Dreduce_l2_test.cpp68 float *coeffValue = new (std::nothrow) float(0.0f); in SetCoeff() local
69 EXPECT_NE(nullptr, coeffValue); in SetCoeff()
70 coeffTensor->SetBuffer(coeffValue, sizeof(float)); in SetCoeff()
220 int64_t coeffValue = 1; variable
221 coeffTensor->SetBuffer(&coeffValue, sizeof(int64_t));
293 float coeffValue[2] = {1.0f, 1.0f}; variable
294 coeffTensor->SetBuffer(coeffValue, 2 * sizeof(float));
465 float coeffValue = 0.0f; variable
475 EXPECT_EQ(returnCoeffValue, coeffValue);
H A Dreduce_max_builder_test.cpp68 float *coeffValue = new (std::nothrow) float(0.0f); in SetCoeff() local
69 EXPECT_NE(nullptr, coeffValue); in SetCoeff()
70 coeffTensor->SetBuffer(coeffValue, sizeof(float)); in SetCoeff()
220 int64_t coeffValue = 1; variable
221 coeffTensor->SetBuffer(&coeffValue, sizeof(int64_t));
293 float coeffValue[2] = {1.0f, 1.0f}; variable
294 coeffTensor->SetBuffer(coeffValue, 2 * sizeof(float));
465 float coeffValue = 0.0f; variable
475 EXPECT_EQ(returnCoeffValue, coeffValue);
H A Dreduce_mean_builder_test.cpp68 float *coeffValue = new (std::nothrow) float(0.0f); in SetCoeff() local
69 EXPECT_NE(nullptr, coeffValue); in SetCoeff()
70 coeffTensor->SetBuffer(coeffValue, sizeof(float)); in SetCoeff()
220 int64_t coeffValue = 1; variable
221 coeffTensor->SetBuffer(&coeffValue, sizeof(int64_t));
293 float coeffValue[2] = {1.0f, 1.0f}; variable
294 coeffTensor->SetBuffer(coeffValue, 2 * sizeof(float));
465 float coeffValue = 0.0f; variable
475 EXPECT_EQ(returnCoeffValue, coeffValue);
H A Dreduce_min_builder_test.cpp68 float *coeffValue = new (std::nothrow) float(0.0f); in SetCoeff() local
69 EXPECT_NE(nullptr, coeffValue); in SetCoeff()
70 coeffTensor->SetBuffer(coeffValue, sizeof(float)); in SetCoeff()
220 int64_t coeffValue = 1; variable
221 coeffTensor->SetBuffer(&coeffValue, sizeof(int64_t));
293 float coeffValue[2] = {1.0f, 1.0f}; variable
294 coeffTensor->SetBuffer(coeffValue, 2 * sizeof(float));
465 float coeffValue = 0.0f; variable
475 EXPECT_EQ(returnCoeffValue, coeffValue);
H A Dreduce_prod_builder_test.cpp68 float *coeffValue = new (std::nothrow) float(0.0f); in SetCoeff() local
69 EXPECT_NE(nullptr, coeffValue); in SetCoeff()
70 coeffTensor->SetBuffer(coeffValue, sizeof(float)); in SetCoeff()
220 int64_t coeffValue = 1; variable
221 coeffTensor->SetBuffer(&coeffValue, sizeof(int64_t));
293 float coeffValue[2] = {1.0f, 1.0f}; variable
294 coeffTensor->SetBuffer(coeffValue, 2 * sizeof(float));
465 float coeffValue = 0.0f; variable
475 EXPECT_EQ(returnCoeffValue, coeffValue);
H A Dreduce_sum_builder_test.cpp68 float *coeffValue = new (std::nothrow) float(0.0f); in SetCoeff() local
69 EXPECT_NE(nullptr, coeffValue); in SetCoeff()
70 coeffTensor->SetBuffer(coeffValue, sizeof(float)); in SetCoeff()
220 int64_t coeffValue = 1; variable
221 coeffTensor->SetBuffer(&coeffValue, sizeof(int64_t));
293 float coeffValue[2] = {1.0f, 1.0f}; variable
294 coeffTensor->SetBuffer(coeffValue, 2 * sizeof(float));
465 float coeffValue = 0.0f; variable
475 EXPECT_EQ(returnCoeffValue, coeffValue);