Skip to content

Commit

Permalink
add missing json import
Browse files Browse the repository at this point in the history
  • Loading branch information
rmccorm4 committed Nov 25, 2019
1 parent 8f1711e commit 8dcd18c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions network/dump_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

import json

# Reference: https://devtalk.nvidia.com/default/topic/1064669/tensorrt/troubleshooting-suggestions-for-onnx-v-tensorrt-discrepancies/post/5392296/#5392296
def dump_network(network, filename):
"""Dumps TensorRT parsed network attributes to a JSON file.
Expand Down

0 comments on commit 8dcd18c

Please sign in to comment.