Instructions to use CatSnowdrop/universal_onnxruntime with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TensorRT
How to use CatSnowdrop/universal_onnxruntime with TensorRT:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Download onnxruntime/datasets/__init__.py from CatSnowdrop/universal_onnxruntime: direct link, hf CLI and curl.
- Browser
- Download file 455 Bytes
-
https://huggingface.co/CatSnowdrop/universal_onnxruntime/resolve/main/onnxruntime/datasets/__init__.py
- Command line
-
hf download hf://CatSnowdrop/universal_onnxruntime/onnxruntime/datasets/__init__.py
-
curl -L -o __init__.py https://huggingface.co/CatSnowdrop/universal_onnxruntime/resolve/main/onnxruntime/datasets/__init__.py
455 Bytes
| # Copyright (c) Microsoft Corporation. All rights reserved. | |
| # Licensed under the MIT License. | |
| """ | |
| Short examples used in the documentation. | |
| """ | |
| import os | |
| def get_example(name): | |
| """ | |
| Retrieves the absolute file name of an example. | |
| """ | |
| this = os.path.abspath(os.path.dirname(__file__)) | |
| full = os.path.join(this, name) | |
| if not os.path.exists(full): | |
| raise FileNotFoundError(f"Unable to find example '{name}'") | |
| return full | |