Home
last modified time | relevance | path

Searched refs:SetTensorValue (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/inner_model/
H A Dinner_model_test.cpp395 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 Dinner_model_test.cpp336 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 Dneural_network_runtime_test.cpp132 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 Dinner_model.h42 OH_NN_ReturnCode SetTensorValue(uint32_t index, const void* buffer, size_t length);
H A Dinner_model.cpp272 OH_NN_ReturnCode InnerModel::SetTensorValue(uint32_t index, const void* buffer, size_t length) in SetTensorValue() function in OHOS::NeuralNetworkRuntime::InnerModel
H A Dneural_network_runtime.cpp282 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 Dneural_network_runtime_test.cpp133 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 Dnn_compiler_test.cpp101 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 Dcompilation_test.cpp57 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 Dcompilation_test.cpp57 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 Dneural_network_core_test.cpp62 ret = model.SetTensorValue(index, &activationValue, sizeof(int8_t)); in BuildModel()