-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Introduce whitelisted folders for external data validation #27352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
a06caea
0853aa8
4f70b56
0f9147c
04c8087
8f1df62
5d19a23
e8bdeba
5402cf0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -453,11 +453,6 @@ inline bool HasExternalDataInMemory(const ONNX_NAMESPACE::TensorProto& ten_proto | |||||||||||||||||
| return g_host->Utils__HasExternalDataInMemory(ten_proto); | ||||||||||||||||||
| } | ||||||||||||||||||
|
|
||||||||||||||||||
|
||||||||||||||||||
| inline Status ValidateExternalDataPath(const PathString& model_path, | |
| const PathString& external_data_path, | |
| const std::vector<PathString>* allowed_paths, | |
| bool* is_whitelisted) { | |
| return g_host->Utils__ValidateExternalDataPath(model_path, external_data_path, allowed_paths, is_whitelisted); | |
| } |
Uh oh!
There was an error while loading. Please reload this page.