/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/inner_model/ |
H A D | inner_model_test.cpp | 395 EXPECT_EQ(OH_NN_SUCCESS, m_innerModelTest.SetTensorValue(index, 425 EXPECT_EQ(OH_NN_SUCCESS, m_innerModelTest.SetTensorValue(index, 477 EXPECT_EQ(OH_NN_SUCCESS, m_innerModelTest.SetTensorValue(index, 519 EXPECT_EQ(OH_NN_SUCCESS, m_innerModelTest.SetTensorValue(index, 606 EXPECT_EQ(OH_NN_SUCCESS, m_innerModelTest.SetTensorValue(index, 625 EXPECT_EQ(OH_NN_SUCCESS, m_innerModelTest.SetTensorValue(index, 645 EXPECT_EQ(OH_NN_SUCCESS, m_innerModelTest.SetTensorValue(index, 666 EXPECT_EQ(OH_NN_SUCCESS, m_innerModelTest.SetTensorValue(index, 695 EXPECT_EQ(OH_NN_SUCCESS, m_innerModelTest.SetTensorValue(index, 786 EXPECT_EQ(OH_NN_SUCCESS, m_innerModelTest.SetTensorValue(index, [all …]
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/inner_model/ |
H A D | inner_model_test.cpp | 336 EXPECT_EQ(OH_NN_SUCCESS, m_innerModelTest.SetTensorValue(index, 366 EXPECT_EQ(OH_NN_SUCCESS, m_innerModelTest.SetTensorValue(index, 417 EXPECT_EQ(OH_NN_SUCCESS, m_innerModelTest.SetTensorValue(index, 459 EXPECT_EQ(OH_NN_SUCCESS, m_innerModelTest.SetTensorValue(index, 546 EXPECT_EQ(OH_NN_SUCCESS, m_innerModelTest.SetTensorValue(index, 565 EXPECT_EQ(OH_NN_SUCCESS, m_innerModelTest.SetTensorValue(index, 585 EXPECT_EQ(OH_NN_SUCCESS, m_innerModelTest.SetTensorValue(index, 606 EXPECT_EQ(OH_NN_SUCCESS, m_innerModelTest.SetTensorValue(index, 635 EXPECT_EQ(OH_NN_SUCCESS, m_innerModelTest.SetTensorValue(index, 726 EXPECT_EQ(OH_NN_SUCCESS, m_innerModelTest.SetTensorValue(index, [all …]
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/neural_network_runtime_test/ |
H A D | neural_network_runtime_test.cpp | 132 ret = model.SetTensorValue(index, &activationValue, sizeof(int8_t)); in BuildModel() 211 EXPECT_EQ(OH_NN_SUCCESS, innerModel.SetTensorValue(index, in SetInnerBuild() 319 EXPECT_EQ(OH_NN_SUCCESS, innerModel.SetTensorValue(index, 346 EXPECT_EQ(OH_NN_SUCCESS, innerModel.SetTensorValue(index, 373 EXPECT_EQ(OH_NN_SUCCESS, innerModel.SetTensorValue(index, 400 EXPECT_EQ(OH_NN_SUCCESS, innerModel.SetTensorValue(index, 423 EXPECT_EQ(OH_NN_SUCCESS, innerModel.SetTensorValue(index, 588 … EXPECT_EQ(OH_NN_SUCCESS, innerModel.SetTensorValue(index, static_cast<const void *>(&activation), 615 EXPECT_EQ(OH_NN_SUCCESS, innerModel.SetTensorValue(index,
|
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ |
H A D | inner_model.h | 42 OH_NN_ReturnCode SetTensorValue(uint32_t index, const void* buffer, size_t length);
|
H A D | inner_model.cpp | 272 OH_NN_ReturnCode InnerModel::SetTensorValue(uint32_t index, const void* buffer, size_t length) in SetTensorValue() function in OHOS::NeuralNetworkRuntime::InnerModel
|
H A D | neural_network_runtime.cpp | 282 return innerModel->SetTensorValue(index, dataBuffer, length); in OH_NNModel_SetTensorData()
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/neural_network_runtime_test/ |
H A D | neural_network_runtime_test.cpp | 133 ret = model.SetTensorValue(index, &activationValue, sizeof(int8_t)); in BuildModel() 212 EXPECT_EQ(OH_NN_SUCCESS, innerModel.SetTensorValue(index, in SetInnerBuild() 372 EXPECT_EQ(OH_NN_SUCCESS, innerModel.SetTensorValue(index, 399 EXPECT_EQ(OH_NN_SUCCESS, innerModel.SetTensorValue(index, 426 EXPECT_EQ(OH_NN_SUCCESS, innerModel.SetTensorValue(index, 453 EXPECT_EQ(OH_NN_SUCCESS, innerModel.SetTensorValue(index, 476 EXPECT_EQ(OH_NN_SUCCESS, innerModel.SetTensorValue(index, 641 … EXPECT_EQ(OH_NN_SUCCESS, innerModel.SetTensorValue(index, static_cast<const void *>(&activation), 668 EXPECT_EQ(OH_NN_SUCCESS, innerModel.SetTensorValue(index,
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/nn_compiler/ |
H A D | nn_compiler_test.cpp | 101 MOCK_METHOD3(SetTensorValue, OH_NN_ReturnCode(uint32_t, const void*, size_t)); 148 ret = innerModel.SetTensorValue(index, &activationValue, sizeof(int8_t)); in BuildModel()
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/compilation/ |
H A D | compilation_test.cpp | 57 ret = innerModel.SetTensorValue(index, &activationValue, sizeof(int8_t)); in BuildModel()
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/compilation/ |
H A D | compilation_test.cpp | 57 ret = innerModel.SetTensorValue(index, &activationValue, sizeof(int8_t)); in BuildModel()
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/neural_network_core_test/ |
H A D | neural_network_core_test.cpp | 62 ret = model.SetTensorValue(index, &activationValue, sizeof(int8_t)); in BuildModel()
|