Support compile on windows x86 (#49)

* Support compile on windows x86

* fix cmake

Co-authored-by: root <root@bjyz-sys-gpu-kongming3.bjyz.baidu.com>
This commit is contained in:
Jason
2022-07-28 11:43:02 +08:00
committed by GitHub
parent adddd3c452
commit a9b5c6ed85
7 changed files with 36 additions and 0 deletions

View File

@@ -82,7 +82,9 @@ class OrtBackend : public BaseBackend {
std::shared_ptr<Ort::IoBinding> binding_;
std::vector<OrtValueInfo> inputs_desc_;
std::vector<OrtValueInfo> outputs_desc_;
#ifndef NON_64_PLATFORM
Ort::CustomOpDomain custom_op_domain_ = Ort::CustomOpDomain("Paddle");
#endif
OrtBackendOption option_;
void CopyToCpu(const Ort::Value& value, FDTensor* tensor);
};