Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Use relative path for symbol import
Browse files Browse the repository at this point in the history
  • Loading branch information
KellenSunderland committed Aug 10, 2018
1 parent c053262 commit c9bb406
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/mxnet/contrib/tensorrt.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import logging
import os

from mxnet.symbol import Symbol
from .. import symbol as sym

from ..base import _LIB, SymbolHandle, MXNetError
from ..base import check_call
Expand Down Expand Up @@ -65,7 +65,7 @@ def get_optimized_symbol(executor):
handle = SymbolHandle()
try:
check_call(_LIB.MXExecutorGetOptimizedSymbol(executor.handle, ctypes.byref(handle)))
result = Symbol(handle=handle)
result = sym.Symbol(handle=handle)
return result
except MXNetError:
logging.error('Error while trying to fetch TRT optimized symbol for graph. Please ensure '
Expand Down

0 comments on commit c9bb406

Please sign in to comment.