[Functions] Fix functions comments (#1126)

* fix functions comments

* Add paddle lite backend
This commit is contained in:
Jack Zhou
2023-01-12 18:57:24 +08:00
committed by GitHub
parent c866377382
commit f861095a53
2 changed files with 5 additions and 0 deletions

View File

@@ -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();

View File

@@ -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.