From eef4a6908bc4ce79f42f507f8947d8e74450d26d Mon Sep 17 00:00:00 2001 From: tqchen Date: Wed, 12 Oct 2016 15:29:17 -0700 Subject: [PATCH] init skeletons --- .gitignore | 2 ++ LICENSE | 2 +- README.md | 16 +++++++++++++++- python/tvm/__init__.py | 1 + tests/python/test_basic.py | 1 + 5 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 python/tvm/__init__.py create mode 100644 tests/python/test_basic.py diff --git a/.gitignore b/.gitignore index 72364f99fe4b..d7a978336ba1 100644 --- a/.gitignore +++ b/.gitignore @@ -87,3 +87,5 @@ ENV/ # Rope project settings .ropeproject +*~ +*.pyc \ No newline at end of file diff --git a/LICENSE b/LICENSE index 8dada3edaf50..252bb7cb854e 100644 --- a/LICENSE +++ b/LICENSE @@ -186,7 +186,7 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright {yyyy} {name of copyright owner} + Copyright 2016 by contributors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/README.md b/README.md index fbae5dd6acd7..5091bfcd926c 100644 --- a/README.md +++ b/README.md @@ -1 +1,15 @@ -# tvm \ No newline at end of file +# TVM + +hack for fun + +Run the tests, set the bashrc + +```bash +export PYTHONPATH=${PYTHONPATH}:/path/to/tvm/python +``` + +Write and run tests via + +```bash +nosetests tests/python +``` \ No newline at end of file diff --git a/python/tvm/__init__.py b/python/tvm/__init__.py new file mode 100644 index 000000000000..e8f65c884bc4 --- /dev/null +++ b/python/tvm/__init__.py @@ -0,0 +1 @@ +"""Init proptype of the TVM""" diff --git a/tests/python/test_basic.py b/tests/python/test_basic.py new file mode 100644 index 000000000000..88f743f21267 --- /dev/null +++ b/tests/python/test_basic.py @@ -0,0 +1 @@ +import tvm