Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tic
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenyuanbo
tic
Commits
c12691a2
Commit
c12691a2
authored
May 24, 2018
by
Tianqi Chen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[INIT] Allow proper throw in compiler (#39)
parent
7f25bf1d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
vta/python/vta/__init__.py
+6
-4
No files found.
vta/python/vta/__init__.py
View file @
c12691a2
...
...
@@ -6,15 +6,17 @@ configure the hardware Environment and access remote through RPC
"""
from
__future__
import
absolute_import
as
_abs
__version__
=
"0.1.0"
import
sys
from
.bitstream
import
get_bitstream_path
,
download_bitstream
from
.environment
import
get_env
,
Environment
from
.rpc_client
import
reconfig_runtime
,
program_fpga
try
:
__version__
=
"0.1.0"
# do not import nnvm/topi when running vta.exec.rpc_server
# to maintain minimum dependency on the board
if
sys
.
argv
[
0
]
not
in
(
"-c"
,
"-m"
):
from
.
import
top
from
.build_module
import
build_config
,
lower
,
build
from
.
import
graph
except
(
ImportError
,
RuntimeError
):
pass
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment