This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import onnx | |
| import struct | |
| import torch | |
| import torch.nn as nn | |
| import torchvision as tv | |
| import warnings | |
| # enum DataType { | |
| # UNDEFINED = 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cmake_minimum_required(VERSION 3.4.1) | |
| set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall") | |
| set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -frtti -fexceptions -Wall") | |
| add_definitions(-DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES) | |
| set(EXTERNAL_DIR ../../../../external) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // Created by ranqingguo on 7/21/17. | |
| // | |
| #include <cstdio> | |
| #include "ExportThread.h" | |
| #include "util/common.h" | |
| #include "Player.h" |