Files
pytorch/test/onnx/test_onnx_common.py
Xiang Gao 20ac736200 Remove py2 compatible future imports (#44735)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/44735

Reviewed By: mruberry

Differential Revision: D23731306

Pulled By: ezyang

fbshipit-source-id: 0ba009a99e475ddbe22981be8ac636f8a1c8b02f
2020-09-16 12:55:57 -07:00

13 lines
309 B
Python

import os
onnx_model_dir = os.path.join(os.path.dirname(
os.path.realpath(__file__)), os.pardir, "repos", "onnx", "onnx",
"backend", "test", "data")
pytorch_converted_dir = os.path.join(onnx_model_dir, "pytorch-converted")
pytorch_operator_dir = os.path.join(onnx_model_dir, "pytorch-operator")