mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
Summary: So far, we only have py2 ci for onnx. I think py3 support is important. And we have the plan to add onnxruntime backend tests, which only supports py3. Pull Request resolved: https://github.com/pytorch/pytorch/pull/21715 Reviewed By: bddppq Differential Revision: D15796885 Pulled By: houseroad fbshipit-source-id: 8554dbb75d13c57b67ca054446a13a016983326c
19 lines
394 B
Python
19 lines
394 B
Python
from __future__ import absolute_import
|
|
from __future__ import division
|
|
from __future__ import print_function
|
|
from __future__ import unicode_literals
|
|
|
|
import unittest
|
|
import sys
|
|
import onnxruntime # noqa
|
|
|
|
|
|
class TestONNXRuntime(unittest.TestCase):
|
|
|
|
def test_onnxruntime_installed(self):
|
|
self.assertTrue('onnxruntime' in sys.modules)
|
|
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|