Closed anderspapitto closed 6 years ago
yeah, it doesn't look pretty, but unfortunately this much slicing/concatenation is required by the differing semantics of onnx/caffe2. It might be possible to share more code between the three cases in a future refactor, though
@dzhulgakov actually I'd like to land this diff first (once tests pass), because the pytorch diff depends on this one (the pytorch diff requires that onnx-caffe2 understand the direction
argument)
@onnxbot retest this please
tied to https://github.com/pytorch/pytorch/pull/5120