根据TensorFlow,成功地将TensorFlow模型转换为TensorFlow Lite float16模型。我用我的MatePad代码在C++ Pro(Kirin 990)上成功地运行了它。m_interpreter->SetAllowFp16PrecisionForFp32(true);m_interpreter->Allocate
有一个函数名为"npu_session_total“。然后,我将使用这个函数的返回值,并将其赋值给一个无符号的长变量"accelerated_count“。int npu_session_total(void) // this will return an int}unsigned long accelerated_count = npu_session_