mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-05 16:48:03 +08:00
add 'GetOutputInfos' and 'GetInputInfos' interface (#232)
add GetOutputInfos GetInputInfos
This commit is contained in:
@@ -165,6 +165,8 @@ struct FASTDEPLOY_DECL Runtime {
|
||||
int NumOutputs() { return backend_->NumOutputs(); }
|
||||
TensorInfo GetInputInfo(int index);
|
||||
TensorInfo GetOutputInfo(int index);
|
||||
std::vector<TensorInfo> GetInputInfos();
|
||||
std::vector<TensorInfo> GetOutputInfos();
|
||||
|
||||
RuntimeOption option;
|
||||
|
||||
|
Reference in New Issue
Block a user