Home
last modified time | relevance | path

Searched refs:activationTypeValue (Results 1 - 2 of 2) sorted by relevance

/foundation/ai/neural_network_runtime/test/unittest/ops/
H A Dsub_builder_test.cpp45 int8_t* activationTypeValue = new (std::nothrow) int8_t[1]{OH_NN_FUSED_RELU6}; in SaveActivateTypeTensor() local
46 EXPECT_NE(nullptr, activationTypeValue); in SaveActivateTypeTensor()
47 activationTypeTensor->SetBuffer(activationTypeValue, sizeof(int8_t)); in SaveActivateTypeTensor()
278 int8_t* activationTypeValue = new (std::nothrow) int8_t[1]{-1}; in HWTEST_F() local
279 EXPECT_NE(nullptr, activationTypeValue); in HWTEST_F()
280 activationTypeTensor->SetBuffer(activationTypeValue, sizeof(int8_t)); in HWTEST_F()
H A Dl2_normalize_test.cpp230 float* activationTypeValue = new (std::nothrow) float[1] {0.0f}; in HWTEST_F() local
231 activationTypeTensor->SetBuffer(activationTypeValue, sizeof(float)); in HWTEST_F()
364 mindspore::lite::ActivationType activationTypeValue {mindspore::lite::ACTIVATION_TYPE_NO_ACTIVATION}; in HWTEST_F()
379 EXPECT_EQ(returnActivationValue, activationTypeValue); in HWTEST_F()

Completed in 3 milliseconds