mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-28 10:51:39 +08:00
[Functions] Fix functions comments (#1126)
* fix functions comments * Add paddle lite backend
This commit is contained in:
@@ -63,6 +63,7 @@ bool CreateRuntimeOption(fastdeploy::RuntimeOption* option) {
|
||||
|
||||
if (FLAGS_device == "kunlunxin") {
|
||||
option->UseKunlunXin();
|
||||
option->UsePaddleLiteBackend();
|
||||
return true;
|
||||
} else if (FLAGS_device == "gpu") {
|
||||
option->UseGpu();
|
||||
|
||||
@@ -17,6 +17,10 @@
|
||||
#include "fastdeploy/core/fd_tensor.h"
|
||||
|
||||
namespace fastdeploy {
|
||||
|
||||
/** \brief All C++ FDTensor Operation APIs are defined inside this namespace
|
||||
*
|
||||
*/
|
||||
namespace function {
|
||||
/** Excute the transpose operation for input FDTensor along given dims.
|
||||
@param x The input tensor.
|
||||
|
||||
Reference in New Issue
Block a user