[python] np.meshgrid(x, y) 와 torch.meshgrid(x, y) 는 다르다.
torchscript로 model을 저장하기 위해... numpy 연산을 없애야만 했다. onnx 및 torch::jit::scriptModule로 변환을 하는 데 있어서 trace-based exporter가 numpy value를 잘 trace할 수 없다고 한다. PyTorch models can be written using numpy manipulations, but this is not proper when we convert to the ONNX model. For the trace-based exporter, tracing treats the numpy values as the constant node, therefore it calculates the wrong result if we ch..
카테고리 없음
2021. 10. 6. 01:03
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- error
- 동적프로그래밍
- 파이썬
- torch
- version
- 프로그래머스
- 백트래킹
- matplotlib
- LGSVL
- tensorflow
- BFS
- dfs
- numpy
- 설치
- 백준
- 카카오
- 설치하기
- shellscript
- docker
- 코딩테스트
- notfound
- CUDA
- n과m
- PIP
- Python
- 이것이코딩테스트다
- 최소신장트리
- pytorch
- torchscript
- 다익스트라
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
글 보관함